mirror of
https://github.com/zonemaster/zonemaster-gui.git
synced 2025-11-22 16:31:04 +01:00
22 lines
621 B
TypeScript
22 lines
621 B
TypeScript
import type { Config } from '@/types.ts';
|
||
import packageJson from './package.json';
|
||
|
||
const config: Config = {
|
||
defaultLanguage: 'en',
|
||
enabledLanguages: ['da', 'en', 'es', 'fi', 'fr', 'nb', 'sv', 'sl'],
|
||
apiBaseUrl: import.meta.env.PUBLIC_API_URL || '/api',
|
||
pollingInterval: import.meta.env.PUBLIC_POLLING_INTERVAL || 5000,
|
||
clientInfo: {
|
||
version: packageJson.version,
|
||
id: 'Zonemaster-GUI',
|
||
},
|
||
siteInfo: {
|
||
email: 'contact@zonemaster.net',
|
||
siteName: '',
|
||
},
|
||
setTitle(title: string) {
|
||
return `${title} – Zonemaster`;
|
||
}
|
||
};
|
||
|
||
export default config;
|