mirror of
https://github.com/sasjs/server.git
synced 2026-01-06 22:20:06 +00:00
chore: corrected order for web route
This commit is contained in:
@@ -5,7 +5,6 @@ import apiRouter from './api'
|
|||||||
import appStreamRouter from './appStream'
|
import appStreamRouter from './appStream'
|
||||||
|
|
||||||
export const setupRoutes = (app: Express) => {
|
export const setupRoutes = (app: Express) => {
|
||||||
app.use('/', webRouter)
|
|
||||||
app.use('/SASjsApi', apiRouter)
|
app.use('/SASjsApi', apiRouter)
|
||||||
|
|
||||||
app.use('/AppStream', function (req, res, next) {
|
app.use('/AppStream', function (req, res, next) {
|
||||||
@@ -13,4 +12,6 @@ export const setupRoutes = (app: Express) => {
|
|||||||
// whatever the current router is
|
// whatever the current router is
|
||||||
appStreamRouter(req, res, next)
|
appStreamRouter(req, res, next)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
app.use('/', webRouter)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user