chore: Remove WEBSOCKETS_ENABLED flag (#1383)

* chore: Remove WEBSOCKETS_ENALBED flag

* lint
This commit is contained in:
Tom Moor
2020-07-22 22:44:24 -07:00
committed by GitHub
parent 2cc6d7add8
commit 109efcaa27
7 changed files with 141 additions and 157 deletions

View File

@ -62,12 +62,6 @@ if (!process.env.REDIS_URL) {
process.exit(1);
}
if (!process.env.WEBSOCKETS_ENABLED) {
console.log(
"WARNING: Websockets are disabled. Set WEBSOCKETS_ENABLED env variable to true to enable"
);
}
if (process.env.NODE_ENV === "production") {
console.log("\n\x1b[33m%s\x1b[0m", "Running Outline in production mode.");
} else if (process.env.NODE_ENV === "development") {