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

42 lines
1.3 KiB
TypeScript
Raw Normal View History

// 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`.
2021-05-20 14:37:53 +02:00
import { apiV1, endpoints } from './endpoints';
2021-05-20 14:11:30 +02:00
import { poll_conf } from './poll_conf';
2021-05-20 14:37:53 +02:00
endpoints.baseHref = apiV1.baseHref;
export const environment = {
2021-05-20 14:11:30 +02:00
frontDomain: 'http://127.0.0.1:4200',
production: false,
display_routes: false, // demo paths to test polls
2021-11-18 13:07:01 +01:00
autofill_creation: true,
2021-11-17 15:06:36 +01:00
advanced_options_display: false,
autofill_participation: false,
2021-11-12 12:09:48 +01:00
showDemoWarning: false,
2021-11-12 15:59:44 +01:00
autoSendNewPoll: false,
showStepperShortcuts: false,
2021-05-17 15:25:22 +02:00
interval_days_default: 7,
expiresDaysDelay: 60,
2021-11-17 15:06:36 +01:00
maxCountOfAnswers: 300,
2021-11-14 15:26:26 +01:00
appTitle: 'Framadate',
2021-05-20 14:11:30 +02:00
appVersion: '0.6.0',
2020-10-17 11:12:53 +02:00
appLogo: 'assets/img/logo.png',
2021-05-20 14:11:30 +02:00
api: endpoints,
poll: poll_conf,
localStorage: {
2021-05-20 14:11:30 +02:00
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.
*/
2021-05-20 14:11:30 +02:00
import 'zone.js/dist/zone-error';
// Included with Angular CLI.