21 lines
645 B
TypeScript
21 lines
645 B
TypeScript
import packageJson from '../package.json';
|
|
|
|
export interface Configs {
|
|
apiUrl: string;
|
|
baseUrl: string;
|
|
appName: string;
|
|
appDescription: string;
|
|
appVersion: string;
|
|
}
|
|
|
|
const isProduction: boolean = true;
|
|
export const isDesktop: boolean = true;
|
|
|
|
export const configs: Configs = {
|
|
apiUrl: isProduction ? 'https://api.eritors.com/' : 'http://localhost:3001/',
|
|
baseUrl: isProduction ? 'https://scribe.eritors.com/' : 'http://localhost:3000/',
|
|
appName: 'Eritors Scribe',
|
|
appDescription: 'Eritors Scribe est une application de prise de notes et d\'écriture collaborative.',
|
|
appVersion: packageJson.version,
|
|
};
|