1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 11:24:35 +00:00

chore: corrected order for web route

This commit is contained in:
Saad Jutt
2022-04-29 03:11:08 +05:00
parent e462aebdc0
commit 1ea3f6d8b3

View File

@@ -5,7 +5,6 @@ import apiRouter from './api'
import appStreamRouter from './appStream'
export const setupRoutes = (app: Express) => {
app.use('/', webRouter)
app.use('/SASjsApi', apiRouter)
app.use('/AppStream', function (req, res, next) {
@@ -13,4 +12,6 @@ export const setupRoutes = (app: Express) => {
// whatever the current router is
appStreamRouter(req, res, next)
})
app.use('/', webRouter)
}