Skip to content

Instantly share code, notes, and snippets.

@birante
Created January 3, 2019 22:59
Show Gist options
  • Save birante/c0d10ef3bbb7429d3f5157f1fe77aebe to your computer and use it in GitHub Desktop.
Save birante/c0d10ef3bbb7429d3f5157f1fe77aebe to your computer and use it in GitHub Desktop.
/*
|--------------------------------------------------------------------------
| Http server
|--------------------------------------------------------------------------
|
| This file bootstrap Adonisjs to start the HTTP server. You are free to
| customize the process of booting the http server.
|
| """ Loading ace commands """
| At times you may want to load ace commands when starting the HTTP server.
| Same can be done by chaining `loadCommands()` method after
|
| """ Preloading files """
| Also you can preload files by calling `preLoad('path/to/file')` method.
| Make sure to pass relative path from the project root.
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment