2019-08-09 13:38:51 +02:00
|
|
|
// 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`.
|
2020-04-19 14:22:10 +02:00
|
|
|
|
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-11-30 11:17:28 +01:00
|
|
|
/*
|
|
|
|
* 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';
|
2020-04-19 14:22:10 +02:00
|
|
|
|
2021-05-20 14:37:53 +02:00
|
|
|
endpoints.baseHref = apiV1.baseHref;
|
|
|
|
|
2019-08-09 13:38:51 +02:00
|
|
|
export const environment = {
|
2021-05-20 14:11:30 +02:00
|
|
|
frontDomain: 'http://127.0.0.1:4200',
|
2021-04-30 10:59:46 +02:00
|
|
|
production: false,
|
2021-11-22 11:51:21 +01:00
|
|
|
display_routes: false, // demo paths to test polls
|
2021-11-29 13:00:01 +01:00
|
|
|
display_menu_creation: false,
|
|
|
|
autofill_creation: false,
|
2021-11-17 15:06:36 +01:00
|
|
|
advanced_options_display: false,
|
|
|
|
autofill_participation: false,
|
2021-11-22 15:56:43 +01:00
|
|
|
autofill_default_timeslices: false,
|
2021-11-30 11:17:28 +01:00
|
|
|
creation_email_is_required: true,
|
|
|
|
creation_display_admin_url: false,
|
|
|
|
creation_display_hour_per_day: false, // display or not the ability to choose time slices different per day
|
2021-11-12 12:09:48 +01:00
|
|
|
showDemoWarning: false,
|
2021-11-22 15:30:23 +01:00
|
|
|
autoSendNewPoll: false,
|
2021-11-29 13:00:01 +01:00
|
|
|
showStepperShortcuts: false,
|
2021-05-17 15:25:22 +02:00
|
|
|
interval_days_default: 7,
|
2021-06-10 14:12:57 +02:00
|
|
|
expiresDaysDelay: 60,
|
2021-11-17 15:06:36 +01:00
|
|
|
maxCountOfAnswers: 300,
|
2021-11-30 11:17:28 +01:00
|
|
|
appTitle: 'FramaDate',
|
|
|
|
appVersion: '2.2.1',
|
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,
|
2020-04-21 17:26:25 +02:00
|
|
|
localStorage: {
|
2021-05-20 14:11:30 +02:00
|
|
|
key: 'FramaDateFunky',
|
2020-04-21 17:26:25 +02:00
|
|
|
},
|
2019-08-09 13:38:51 +02:00
|
|
|
};
|
|
|
|
|
2021-05-20 14:11:30 +02:00
|
|
|
// Included with Angular CLI.
|