use directories for structure
This commit is contained in:
12
app/config.js
Normal file
12
app/config.js
Normal file
@@ -0,0 +1,12 @@
|
||||
// env dependent config goes here
|
||||
|
||||
(function() {
|
||||
if (typeof(window.MyApp) === 'undefined') {
|
||||
window.MyApp = {};
|
||||
}
|
||||
|
||||
MyApp.config = {
|
||||
somePath: '/blabla/',
|
||||
someOtherGlobalConfig: 'https://...'
|
||||
};
|
||||
})();
|
Reference in New Issue
Block a user