1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-06 14:10:06 +00:00

feat(routes): separate routes into web and api

This commit is contained in:
Yury Shkoda
2021-10-28 08:25:36 +00:00
parent c6c24da0e2
commit dabef59728
10 changed files with 294 additions and 108 deletions

10
src/routes/api/index.ts Normal file
View File

@@ -0,0 +1,10 @@
import express from 'express'
import filesRouter from './files'
import stpRouter from './stp'
const router = express.Router()
router.use('/files', filesRouter)
router.use('/stp', stpRouter)
export default router