Await createApp()
This commit is contained in:
parent
adfc83c78f
commit
d5d7f17339
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "spilum-backend",
|
"name": "mtf-backend",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "spilum-backend",
|
"name": "mtf-backend",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@ -95,7 +95,7 @@ const start = async () => {
|
|||||||
|
|
||||||
await initRoles();
|
await initRoles();
|
||||||
|
|
||||||
const app = createApp();
|
const app = await createApp();
|
||||||
|
|
||||||
// Set port and listen
|
// Set port and listen
|
||||||
const PORT = parseInt(config.PORT, 10) || 5000;
|
const PORT = parseInt(config.PORT, 10) || 5000;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user