diff options
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; |