50 lines
810 B
TypeScript
50 lines
810 B
TypeScript
const backendApiUrlsInDev = {
|
|
local: '/api/v1',
|
|
remote: 'https://framadate-api.cipherbliss.com/api/v1',
|
|
};
|
|
|
|
export const environment = {
|
|
production: true,
|
|
appTitle: 'FramaDate',
|
|
appVersion: '2.0.0',
|
|
appLogo: '/assets/img/logo.png',
|
|
api: {
|
|
baseHref: backendApiUrlsInDev.remote,
|
|
endpoints: {
|
|
polls: {
|
|
name: '/polls',
|
|
choices: {
|
|
name: '/choices',
|
|
},
|
|
comments: {
|
|
name: '/comments',
|
|
},
|
|
slugs: {
|
|
name: '/slugs',
|
|
},
|
|
answers: {
|
|
name: '/answers',
|
|
},
|
|
},
|
|
users: {
|
|
name: '/users',
|
|
polls: {
|
|
name: '/polls',
|
|
sendEmail: {
|
|
name: '/send-email',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
poll: {
|
|
defaultConfig: {
|
|
expiracyInDays: 60,
|
|
expiracyAfterLastModificationInDays: 180,
|
|
},
|
|
},
|
|
localStorage: {
|
|
key: 'FramaSondage',
|
|
},
|
|
};
|