mirror of
https://github.com/sasjs/server.git
synced 2026-01-11 16:20:06 +00:00
chore: rename Web folder to web
This commit is contained in:
@@ -5,6 +5,6 @@ const app = express()
|
||||
|
||||
app.use(express.json({ limit: '50mb' }))
|
||||
app.use('/', indexRouter)
|
||||
app.use(express.static(path.join(__dirname, '..', 'Web', 'build')))
|
||||
app.use(express.static(path.join(__dirname, '..', 'web', 'build')))
|
||||
|
||||
export default app
|
||||
|
||||
@@ -18,7 +18,7 @@ import { getTmpFilesFolderPath } from '../utils'
|
||||
const router = express.Router()
|
||||
|
||||
router.get('/', async (_, res) => {
|
||||
res.sendFile(path.join(__dirname, '..', '..', 'Web', 'build', 'index.html'))
|
||||
res.sendFile(path.join(__dirname, '..', '..', 'web', 'build', 'index.html'))
|
||||
})
|
||||
|
||||
router.post('/deploy', async (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user