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