2021-05-20 14:11:30 +02:00
|
|
|
import { endpoints } from './endpoints';
|
|
|
|
import { poll_conf } from './poll_conf';
|
|
|
|
|
2020-05-01 19:10:17 +02:00
|
|
|
const backendApiUrlsInDev = {
|
2020-05-12 19:16:23 +02:00
|
|
|
local: '/api/v1',
|
2020-05-01 19:10:17 +02:00
|
|
|
remote: 'https://framadate-api.cipherbliss.com/api/v1',
|
|
|
|
};
|
2021-02-12 14:43:39 +01:00
|
|
|
const apiV1 = {
|
2021-04-29 12:49:23 +02:00
|
|
|
baseHref: 'https://framadate-api.cipherbliss.com/api/v1',
|
2021-02-12 14:43:39 +01:00
|
|
|
api_new_poll: '/poll/',
|
|
|
|
api_get_poll: '/poll/{id}',
|
|
|
|
'api_test-mail-poll': '/api/v1/poll/mail/test-mail-poll/{emailChoice}',
|
|
|
|
'app.swagger': '/api/doc.json',
|
|
|
|
};
|
2020-05-01 19:10:17 +02:00
|
|
|
|
|
|
|
export const environment = {
|
2021-04-30 16:12:02 +02:00
|
|
|
frontDomain: 'https://framadate-api.cipherbliss.com',
|
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-02-12 14:43:39 +01:00
|
|
|
appTitle: 'FramaDate Funky',
|
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
|
|
|
},
|
|
|
|
};
|