]> git.r.bdr.sh - rbdr/forum/blame_incremental - src/config/config.js
Use babel-eslint as linter parser
[rbdr/forum] / src / config / config.js
... / ...
CommitLineData
1import { 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
9export const apollo = {
10 uri: import.meta.env.VITE_APOLLO_SERVER,
11 name,
12 version: packageVersion
13};
14
15export const socketServer = import.meta.env.FORUM_SOCKET_SERVER;
16
17export const version = packageVersion;