From bd8e98d7e24c4dbaee7db6ec7955f7c2f6d396a6 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Tue, 9 Mar 2021 22:43:12 +0100 Subject: Update to SvelteKit --- src/config/config.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/config/config.js (limited to 'src/config/config.js') diff --git a/src/config/config.js b/src/config/config.js new file mode 100644 index 0000000..6d819a3 --- /dev/null +++ b/src/config/config.js @@ -0,0 +1,11 @@ +import { 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 socketServer = import.meta.env.FORUM_SOCKET_SERVER; + +export const version = packageVersion; -- cgit