diff options
| author | Ben Beltran <ben@nsovocal.com> | 2020-03-22 11:53:13 -0600 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2020-03-22 11:53:13 -0600 |
| commit | 3841606684ee3d233266ad490905076a3562842c (patch) | |
| tree | 407adde62e5181cae2b0d3611bc6c18c00a20d67 /app/config | |
| parent | 00a6e8aa8dd06f8a2bd7ccccdccfcb6215cf4841 (diff) | |
Remove server
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 |