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

47 lines
1.5 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';
/*
* 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';
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,
2021-11-22 11:51:21 +01:00
display_routes: false, // demo paths to test polls
display_menu_creation: false,
autofill_creation: false,
2021-11-17 15:06:36 +01:00
advanced_options_display: false,
autofill_participation: false,
autofill_default_timeslices: false,
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,
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,
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,
localStorage: {
2021-05-20 14:11:30 +02:00
key: 'FramaDateFunky',
},
};
2021-05-20 14:11:30 +02:00
// Included with Angular CLI.