mirror of
https://github.com/sasjs/server.git
synced 2026-01-11 00:10:06 +00:00
refactor: specs + cleanup
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import open from 'open'
|
||||
import appPromise from './app'
|
||||
import { configuration } from '../package.json'
|
||||
|
||||
@@ -7,9 +6,5 @@ appPromise.then((app) => {
|
||||
console.log(
|
||||
`⚡️[server]: Server is running at http://localhost:${configuration.sasJsPort}`
|
||||
)
|
||||
const { MODE } = process.env
|
||||
if (MODE?.trim() !== 'server') {
|
||||
open(`http://localhost:${configuration.sasJsPort}`)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user