Add BASEURL global constant

This commit is contained in:
Mohammad Fares 2018-10-14 21:54:39 +03:00
parent 739904b7d5
commit 1f14eae4b6
1 changed files with 3 additions and 0 deletions

3
app.js
View File

@ -39,6 +39,9 @@ global.di = di;
// Define the the root path of the app as a global constant
global.ROOT_PATH = __dirname;
// The base url of the Terminalizer website
global.BASEURL = 'https://terminalizer.com';
// Dependency Injection
di.set('is', is);
di.set('chalk', chalk);