Files
frontend-lblod-chat/app/config/environment.js
2026-09-16 17:16:19 +02:00

28 lines
762 B
JavaScript

import loadConfigFromMeta from '@embroider/config-meta-loader';
import { assert } from '@ember/debug';
const config = loadConfigFromMeta('frontend-lblod-chat');
assert(
'config is not an object',
typeof config === 'object' && config !== null,
);
assert(
'modulePrefix was not detected on your config',
'modulePrefix' in config && typeof config.modulePrefix === 'string',
);
assert(
'locationType was not detected on your config',
'locationType' in config && typeof config.locationType === 'string',
);
assert(
'rootURL was not detected on your config',
'rootURL' in config && typeof config.rootURL === 'string',
);
assert(
'APP was not detected on your config',
'APP' in config && typeof config.APP === 'object',
);
export default config;