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:
10
src/routes/api/index.ts
Normal file
10
src/routes/api/index.ts
Normal 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
|
||||
Reference in New Issue
Block a user