framadate-responsive/src/environments/environment.prod.ts

50 lines
812 B
TypeScript
Raw Normal View History

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,
appTitle: 'FramaDate',
2020-10-31 16:12:44 +01:00
appVersion: '2.0.0',
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: {
expiresDaysDelay: 60,
2020-05-01 19:10:17 +02:00
expiracyAfterLastModificationInDays: 180,
},
},
localStorage: {
key: 'FramaSondage',
},
};