mirror of
https://github.com/sasjs/server.git
synced 2026-01-05 05:40:06 +00:00
fix(upload): appStream uses CSRF + Session authentication
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
import express from 'express'
|
||||
import { csrfProtection } from '../../app'
|
||||
import webRouter from './web'
|
||||
|
||||
const router = express.Router()
|
||||
|
||||
router.use(csrfProtection)
|
||||
|
||||
router.use('/', webRouter)
|
||||
|
||||
export default router
|
||||
|
||||
Reference in New Issue
Block a user