Created
August 7, 2018 10:14
-
-
Save thetutlage/66a2c4f68fe596888b5b13b17ae83fb2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { hooks } = require('@adonisjs/ignitor') | |
hooks.after.httpServer(function () { | |
const Server = use('Server') | |
const httpInstance = Server.getInstance() | |
// do whatever you like | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment