init from origin + update

This commit is contained in:
2023-08-01 13:14:02 +03:00
commit 321dc4c3c5
1109 changed files with 16019 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
const router = require('express').Router()
const fs = require('fs')
const path = require('path')
const folderPath = path.resolve(__dirname, './routers')
const folders = fs.readdirSync(folderPath)
router.get('/', (req, res) => {
res.send(`
<h1>multy stub is working</h1>
<ul>
${folders.map((f) => `<li>${f}</li>`).join('')}
</ul>
`)
})
module.exports = router