diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-03-09 22:43:12 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-03-09 22:43:12 +0100 |
| commit | bd8e98d7e24c4dbaee7db6ec7955f7c2f6d396a6 (patch) | |
| tree | e5f0dcbc14d3009c17e5f562404fe19f6aceab73 /src/config/config.js | |
| parent | 862a5f9cdbbda522c608ea63c1e296e81f44de10 (diff) | |
Update to SvelteKit
Diffstat (limited to 'src/config/config.js')
| -rw-r--r-- | src/config/config.js | 11 |
1 files changed, 11 insertions, 0 deletions
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; |