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',
|
|
|
|
};
|
|
|
|
|
|
|
|
export const environment = {
|
|
|
|
production: true,
|
2020-08-12 16:00:20 +02:00
|
|
|
appTitle: 'FramaDate',
|
|
|
|
appLogo: '/assets/img/logo.png',
|
2020-05-01 19:10:17 +02:00
|
|
|
api: {
|
|
|
|
baseHref: backendApiUrlsInDev.remote,
|
|
|
|
endpoints: {
|
2020-05-05 18:17:12 +02:00
|
|
|
polls: {
|
|
|
|
name: '/polls',
|
2020-05-12 19:16:23 +02:00
|
|
|
choices: {
|
|
|
|
name: '/choices',
|
2020-05-01 19:10:17 +02:00
|
|
|
},
|
2020-05-05 18:17:12 +02:00
|
|
|
comments: {
|
|
|
|
name: '/comments',
|
2020-05-01 19:10:17 +02:00
|
|
|
},
|
2020-05-05 18:17:12 +02:00
|
|
|
slugs: {
|
|
|
|
name: '/slugs',
|
2020-05-01 19:10:17 +02:00
|
|
|
},
|
2020-05-12 19:16:23 +02:00
|
|
|
answers: {
|
|
|
|
name: '/answers',
|
|
|
|
},
|
2020-05-05 18:17:12 +02:00
|
|
|
},
|
|
|
|
users: {
|
|
|
|
name: '/users',
|
2020-05-01 19:10:17 +02:00
|
|
|
polls: {
|
|
|
|
name: '/polls',
|
|
|
|
sendEmail: {
|
2020-05-05 18:17:12 +02:00
|
|
|
name: '/send-email',
|
2020-05-01 19:10:17 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
poll: {
|
|
|
|
defaultConfig: {
|
|
|
|
expiracyInDays: 60,
|
|
|
|
expiracyAfterLastModificationInDays: 180,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
localStorage: {
|
|
|
|
key: 'FramaSondage',
|
|
|
|
},
|
|
|
|
};
|