From 3841606684ee3d233266ad490905076a3562842c Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Sun, 22 Mar 2020 11:53:13 -0600 Subject: Remove server --- app/config/config.js | 8 ++++++++ app/config/env.dist | 1 + 2 files changed, 9 insertions(+) create mode 100644 app/config/config.js create mode 100644 app/config/env.dist (limited to 'app/config') 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 -- cgit