2021-05-20 14:11:30 +02:00
|
|
|
import { endpoints } from './endpoints';
|
|
|
|
import { poll_conf } from './poll_conf';
|
|
|
|
|
2021-05-20 14:37:53 +02:00
|
|
|
const prodBaseHref = 'https://framadate-api.cipherbliss.com';
|
2020-05-01 19:10:17 +02:00
|
|
|
const backendApiUrlsInDev = {
|
2020-05-12 19:16:23 +02:00
|
|
|
local: '/api/v1',
|
2021-05-20 14:37:53 +02:00
|
|
|
remote: `${prodBaseHref}/api/v1`,
|
2021-02-12 14:43:39 +01:00
|
|
|
};
|
2020-05-01 19:10:17 +02:00
|
|
|
|
2021-05-20 14:37:53 +02:00
|
|
|
endpoints.baseHref = `${prodBaseHref}/api/v1`;
|
|
|
|
|
2020-05-01 19:10:17 +02:00
|
|
|
export const environment = {
|
2021-05-20 14:37:53 +02:00
|
|
|
frontDomain: prodBaseHref,
|
2020-05-01 19:10:17 +02:00
|
|
|
production: true,
|
2021-04-29 12:49:23 +02:00
|
|
|
display_routes: true,
|
2021-05-01 23:10:00 +02:00
|
|
|
showDemoWarning: true,
|
2021-05-20 14:11:30 +02:00
|
|
|
autofill: true,
|
2021-04-30 10:59:46 +02:00
|
|
|
autoSendNewPoll: false,
|
2021-05-17 15:25:22 +02:00
|
|
|
interval_days_default: 7,
|
2021-05-20 14:37:53 +02:00
|
|
|
appTitle: 'FramaDate Funky Démo',
|
2021-05-20 14:11:30 +02:00
|
|
|
appVersion: '0.6.0',
|
2021-02-12 14:43:39 +01:00
|
|
|
appLogo: 'assets/img/logo.png',
|
2021-05-20 14:11:30 +02:00
|
|
|
api: endpoints,
|
|
|
|
poll: poll_conf,
|
2020-05-01 19:10:17 +02:00
|
|
|
localStorage: {
|
2021-05-20 14:11:30 +02:00
|
|
|
key: 'FramaDateFunky',
|
2020-05-01 19:10:17 +02:00
|
|
|
},
|
|
|
|
};
|