Merge pull request #8 from tgpethan/add-erh-firstload-log

Add Initial startup headers to example request handler
This commit is contained in:
Ethan Stubbs 2020-01-02 23:21:56 +00:00 committed by GitHub
commit ea15c18e27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,9 +11,11 @@ BASE_PATH = "/example_request_handler";
// Makes the folders for files of the module
if (!fs.existsSync(__dirname + BASE_PATH)) {
fs.mkdirSync(__dirname + BASE_PATH);
console.log(`[example_request_handler] Made example_request_handler module folder`);
}
if (!fs.existsSync(__dirname + BASE_PATH + "/files")) {
fs.mkdirSync(__dirname + BASE_PATH + "/files");
console.log(`[example_request_handler] Made example_request_handler module files folder`);
}
module.exports = {