1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-12 00:30:06 +00:00

chore: fix for development docker-compose

This commit is contained in:
Saad Jutt
2021-11-14 21:12:10 +05:00
parent 4792f15c40
commit 5e7cecf3ea
7 changed files with 14 additions and 18 deletions

View File

@@ -27,10 +27,6 @@ app.use('/', webRouter)
app.use('/SASjsApi', apiRouter)
app.use(express.json({ limit: '50mb' }))
try {
app.use(express.static(getWebBuildFolderPath()))
} catch (err) {
console.error('Unable to get web build')
}
app.use(express.static(getWebBuildFolderPath()))
export default connectDB().then(() => app)