const productionBaseUrl = 'https://framadate-api.cipherbliss.com'; // set this to your production domain const apiVersion = 'v1'; const backendApiUrlsInDev = { local: `/api/${apiVersion}`, remote: `${productionBaseUrl}/api/${apiVersion}`, }; const apiV1 = { baseHref: `${productionBaseUrl}/api/${apiVersion}`, api_new_poll: '/poll/', api_get_poll: '/poll/{id}', api_new_vote_stack: '/vote-stack', 'api_test-mail-poll': `/api/${apiVersion}/poll/mail/test-mail-poll/{emailChoice}`, 'app.swagger': '/api/doc.json', }; export const environment = { frontDomain: productionBaseUrl, production: true, display_routes: false, showDemoWarning: false, display_menu_creation: false, autofill_creation: false, autofill_participation: false, advanced_options_display: false, autofill_default_timeslices: false, autoSendNewPoll: false, interval_days_default: 7, showStepperShortcuts: false, expiresDaysDelay: 60, maxCountOfAnswers: 300, appTitle: 'FramaDate', appVersion: '2.2.0', appLogo: 'assets/img/logo.png', api: { versionToUse: 'apiV1', version: { apiV1, }, baseHref: backendApiUrlsInDev.remote, endpoints: { polls: { name: '/poll', choices: { name: '/choices', }, comments: { name: '/comments', }, slugs: { name: '/slugs', }, answers: { name: '/answers', }, }, users: { name: '/users', polls: { name: '/polls', sendEmail: { name: '/send-email', }, }, }, }, }, poll: { defaultConfig: { maxCountOfAnswers: 150, expiresDaysDelay: 60, expiracyAfterLastModificationInDays: 180, whoCanChangeAnswers: 'everybody', visibility: 'link_only', voteChoices: 'only_yes', }, }, localStorage: { key: 'FramaSondage', }, };