Add BASEURL global constant

This commit is contained in:
Mohammad Fares 2018-10-14 21:54:39 +03:00
parent 739904b7d5
commit 1f14eae4b6

3
app.js
View File

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