aboutsummaryrefslogtreecommitdiff
path: root/src/config/config.js
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2021-03-13 15:28:29 +0100
committerRuben Beltran del Rio <ruben@unlimited.pizza>2021-03-13 15:28:29 +0100
commitc1bc5993a694f6fd047a3881351827058042483b (patch)
tree3d64130e1e6a2f86f70981df28cf22cd535bf2b2 /src/config/config.js
parentbd8e98d7e24c4dbaee7db6ec7955f7c2f6d396a6 (diff)
Use routify and GraphQL server
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;