funky-framadate-front/src/environments/environment.ts

42 lines
1.3 KiB
TypeScript

// This file can be replaced during build by using the `fileReplacements` array.
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
import { apiV1, endpoints } from './endpoints';
import { poll_conf } from './poll_conf';
endpoints.baseHref = apiV1.baseHref;
export const environment = {
frontDomain: 'http://127.0.0.1:4200',
production: false,
display_routes: false, // demo paths to test polls
autofill_creation: true,
advanced_options_display: false,
autofill_participation: false,
showDemoWarning: false,
autoSendNewPoll: false,
showStepperShortcuts: false,
interval_days_default: 7,
expiresDaysDelay: 60,
maxCountOfAnswers: 300,
appTitle: 'Framadate',
appVersion: '2.2.0',
appLogo: 'assets/img/logo.png',
api: endpoints,
poll: poll_conf,
localStorage: {
key: 'FramaDateFunky',
},
};
/*
* For easier debugging in development mode, you can import the following file
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
*
* This import should be commented out in production mode because it will have a negative impact
* on performance if an error is thrown.
*/
import 'zone.js/dist/zone-error';
// Included with Angular CLI.