Rename function to make more sense
This commit is contained in:
parent
d934573dab
commit
f09d129bae
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -108,12 +108,12 @@ fs.readFile('./misc/ascii.txt', function(err, data) {
|
||||||
global.modules.consoleHelper.printError(emoji.cross, "No request handler was loaded, possibly due to an error.");
|
global.modules.consoleHelper.printError(emoji.cross, "No request handler was loaded, possibly due to an error.");
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
frameworkServer();
|
start();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function frameworkServer() {
|
async function start() {
|
||||||
// Load in the request handler's extra required items.
|
// Load in the request handler's extra required items.
|
||||||
await reqhandler.extras();
|
await reqhandler.extras();
|
||||||
// Define where GET requests go to in the request handlers.
|
// Define where GET requests go to in the request handlers.
|
||||||
|
|
Loading…
Reference in a new issue