mirror of
https://github.com/sasjs/server.git
synced 2025-12-10 11:24:35 +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) => {
|
||||
|
||||
|
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 104 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Reference in New Issue
Block a user