Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function initialize(/* container, application */) {
if (typeof FastBoot === 'undefined') {
let prefix = '';
if (!isNone(config.rootURL)) {
prefix = config.rootURL;
} else if (!isNone(config.baseURL)) {
prefix = config.baseURL;
}
L.Icon.Default.imagePath = `${prefix}assets/images/`;
}
}
export function initialize(/* container, application */) {
if (typeof FastBoot === 'undefined' && typeof L !== 'undefined') {
let prefix = '';
if (!isNone(config.rootURL)) {
prefix = config.rootURL;
} else if (!isNone(config.baseURL)) {
prefix = config.baseURL;
}
L.Icon.Default.imagePath = `${prefix}assets/images/`;
}
}
export function initialize(/* container, application */) {
if (typeof FastBoot === 'undefined' && typeof L !== 'undefined') {
let prefix = '';
if (!isNone(config.rootURL)) {
prefix = config.rootURL;
} else if (!isNone(config.baseURL)) {
prefix = config.baseURL;
}
L.Icon.Default.imagePath = `${prefix}assets/images/`;
}
}
export function initialize(/* container, application */) {
if (typeof FastBoot === 'undefined') {
let prefix = '';
if (!isNone(config.rootURL)) {
prefix = config.rootURL;
} else if (!isNone(config.baseURL)) {
prefix = config.baseURL;
}
L.Icon.Default.imagePath = `${prefix}assets/images/`;
}
}