1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-03 21:10:05 +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

@@ -1,10 +1,10 @@
import appPromise from './app'
import { configuration } from '../package.json'
appPromise.then((app) => {
app.listen(configuration.sasJsPort, () => {
const sasJsPort = process.env.PORT ?? 5000
app.listen(sasJsPort, () => {
console.log(
`⚡️[server]: Server is running at http://localhost:${configuration.sasJsPort}`
`⚡️[server]: Server is running at http://localhost:${sasJsPort}`
)
})
})