diff options
Diffstat (limited to 'app/config')
| -rw-r--r-- | app/config/config.js | 8 | ||||
| -rw-r--r-- | app/config/env.dist | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/app/config/config.js b/app/config/config.js new file mode 100644 index 0000000..c915f70 --- /dev/null +++ b/app/config/config.js @@ -0,0 +1,8 @@ +/* + * 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. + */ + +// Location of the socket server +export const socketServer = process.env.FORUM_SOCKET_SERVER; diff --git a/app/config/env.dist b/app/config/env.dist new file mode 100644 index 0000000..0bcd782 --- /dev/null +++ b/app/config/env.dist @@ -0,0 +1 @@ +FORUM_SOCKET_SERVER=ws://location_of_socket_server |