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

52 lines
1.7 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 = {
advanced_options_display: true,
appLogo: 'assets/img/logo.png',
appTitle: 'FramaDate',
appVersion: '2.2.1',
autofill_creation: false,
autofill_default_timeslices: false,
autofill_participation: false,
autoSendNewPoll: false,
creation_display_admin_url: false,
creation_display_hour_per_day: false, // display or not the ability to choose time slices different per day
creation_display_proposals_time_slices: false,
creation_email_is_required: true,
display_header_create_button: false,
display_menu_creation: false,
display_routes: false, // demo paths to test polls
2021-12-21 16:02:25 +01:00
enable_colored_weekend_days: false, // color differently the weekend days
2021-12-21 17:33:26 +01:00
expiresDaysDelay: 30,
frontDomain: 'http://127.0.0.1:4200',
interval_days_default: 7,
2021-11-17 15:06:36 +01:00
maxCountOfAnswers: 300,
production: false,
showDemoWarning: false,
showStepperShortcuts: false,
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-11-30 17:37:23 +01:00
display_validation_errors: false,
};
2021-05-20 14:11:30 +02:00
// Included with Angular CLI.