]> git.r.bdr.sh - rbdr/forum/blobdiff - src/config/config.js
Port to sveltekit
[rbdr/forum] / src / config / config.js
index 6d819a36d7ed24a884192103da0aa5864b87c859..9d6d40edb1646341bf2c29efdbda1030bf2f6f57 100644 (file)
@@ -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
 
 /*
  * 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.
  */
 
  * 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;
 export const socketServer = import.meta.env.FORUM_SOCKET_SERVER;
 
 export const version = packageVersion;