aboutsummaryrefslogtreecommitdiff
path: root/src/config/config.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/config.js')
-rw-r--r--src/config/config.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/config/config.js b/src/config/config.js
index 6d819a3..0570e1c 100644
--- a/src/config/config.js
+++ b/src/config/config.js
@@ -1,4 +1,4 @@
-import { version as packageVersion } from '../../package.json';
+import { name, version as packageVersion } from '../../package.json';
/*
* The main configuration object for the Forum frontend. These values
@@ -6,6 +6,12 @@ import { version as packageVersion } from '../../package.json';
* 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;