1
0
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:
2021-10-19 15:26:26 +00:00
parent 3fe475d477
commit a1ae0e3ed0
28 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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) => {

View File

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 104 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB