I would like to be able to make a constant like
var BASE_URL = 'http://example.com';
and make it accessible in all of my kraken JS controllers. Where should I define this?
Thanks.
I would like to be able to make a constant like
var BASE_URL = 'http://example.com';
and make it accessible in all of my kraken JS controllers. Where should I define this?
Thanks.
Copyright © 2021 Jogjafile Inc.
put
global.BASE_URL = 'http://example.com';at the beginning of you application code.