Files
ERitors-Scribe-Desktop/lib/configs.ts
natreex 64ed90d993 Remove unused components and models for improved maintainability
- 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.
2026-03-22 22:37:31 -04:00

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,
};