diff options
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,3 @@ | |||
1 | 'use strict' | ||
2 | 1 | ||
3 | /* | 2 | /* |
4 | |-------------------------------------------------------------------------- | 3 | |-------------------------------------------------------------------------- |
@@ -17,9 +16,10 @@ | |||
17 | | Make sure to pass a relative path from the project root. | 16 | | Make sure to pass a relative path from the project root. |
18 | */ | 17 | */ |
19 | 18 | ||
20 | const { Ignitor } = require('@adonisjs/ignitor') | 19 | const { Ignitor } = require('@adonisjs/ignitor'); |
20 | const fold = require('@adonisjs/fold'); | ||
21 | 21 | ||
22 | new Ignitor(require('@adonisjs/fold')) | 22 | new Ignitor(fold) |
23 | .appRoot(__dirname) | 23 | .appRoot(__dirname) |
24 | .fireHttpServer() | 24 | .fireHttpServer() |
25 | .catch(console.error) | 25 | .catch(console.error); // eslint-disable-line no-console |