- Deleted redundant components (`AddActionButton`, `AlertBox`, `AlertStack`, `BackButton`, `CancelButton`, and `CollapsableArea`) and related files. - Removed unused models (`Book`, `BookSerie`, `BookTables`, `Character`, and `Chapter`) to reduce codebase clutter. - Updated project structure and references to reflect these removals.
20 lines
645 B
TypeScript
20 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 = false;
|
|
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,
|
|
}; |