]> git.r.bdr.sh - rbdr/forum/blob - src/lib/config/config.ts
2bf9bc1f54d09575b4a59348816399a87c0e12e8
[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 key: import.meta.env.VITE_APOLLO_KEY,
14 name: 'forum',
15 version: internals.version
16 };
17
18 export const version = internals.version;