]> git.r.bdr.sh - rbdr/forum/blob - src/lib/config/config.ts
Update / use typescript
[rbdr/forum] / src / lib / config / config.ts
1 const internals = {
2 version: '1.0.0'
3 };
4
5 /*
6 * The main configuration object for the Forum frontend. These values
7 * are calculated during compile time and need to be set in a .env
8 * file, otherwise it won't work.
9 */
10
11 export const apollo = {
12 uri: import.meta.env.VITE_APOLLO_SERVER,
13 name: 'forum',
14 version: internals.version
15 };
16
17 export const version = internals.version;