aboutsummaryrefslogtreecommitdiffstats
path: root/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'server.js')
-rw-r--r--server.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/server.js b/server.js
deleted file mode 100644
index 921df97..0000000
--- a/server.js
+++ /dev/null
@@ -1,28 +0,0 @@
1const Sentry = require('@sentry/node');
2
3Sentry.init({ dsn: 'https://34e9a42c1de24048b7bfc980211dd7c8@sentry.io/1838449' });
4
5/*
6|--------------------------------------------------------------------------
7| Http server
8|--------------------------------------------------------------------------
9|
10| This file bootstraps Adonisjs to start the HTTP server. You are free to
11| customize the process of booting the http server.
12|
13| """ Loading ace commands """
14| At times you may want to load ace commands when starting the HTTP server.
15| Same can be done by chaining `loadCommands()` method after
16|
17| """ Preloading files """
18| Also you can preload files by calling `preLoad('path/to/file')` method.
19| Make sure to pass a relative path from the project root.
20*/
21
22const { Ignitor } = require('@adonisjs/ignitor');
23const fold = require('@adonisjs/fold');
24
25new Ignitor(fold)
26 .appRoot(__dirname)
27 .fireHttpServer()
28 .catch(console.error); // eslint-disable-line no-console