]> git.r.bdr.sh - rbdr/forum/blame - src/config/config.js
Update the config
[rbdr/forum] / src / config / config.js
CommitLineData
c1bc5993 1import { name, version as packageVersion } from '../../package.json';
bd8e98d7 2
38416066
BB
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
c1bc5993 9export const apollo = {
58f7d521
RBR
10 uri: import.meta.env.VITE_APOLLO_SERVER,
11 name,
12 version: packageVersion
c1bc5993
RBR
13};
14
bd8e98d7
RBR
15export const socketServer = import.meta.env.FORUM_SOCKET_SERVER;
16
17export const version = packageVersion;