aboutsummaryrefslogtreecommitdiff
path: root/src/config/config.js
blob: 0570e1cd312e85a22022daea96fc023a1a2ce694 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { name, version as packageVersion } from '../../package.json';

/*
 * The main configuration object for the Forum frontend. These values
 * are calculated during compile time and need to be set in a .env
 * file, otherwise it won't work.
 */

export const apollo = {
  uri: import.meta.env.VITE_APOLLO_SERVER,
  name,
  version: packageVersion
};

export const socketServer = import.meta.env.FORUM_SOCKET_SERVER;

export const version = packageVersion;