From 014f3f008eb4935fc5e4629cb53220409dcaba11 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Wed, 27 Sep 2017 21:50:51 -0700 Subject: [PATCH] Remove config key that is no longer used --- config.template.yaml | 1 - package.json | 2 +- src/config.js | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/config.template.yaml b/config.template.yaml index db8dc37d..a91d0909 100644 --- a/config.template.yaml +++ b/config.template.yaml @@ -48,7 +48,6 @@ http: # one port must be specified as default for the purposes of generating # links with the appropriate port default-port: 8080 - domain: 'http://localhost' # Specifies the root domain for cookies. If you have multiple domains # e.g. a.example.com and b.example.com, the root domain is example.com root-domain: 'localhost' diff --git a/package.json b/package.json index 71a42356..4340c232 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Calvin Montgomery", "name": "CyTube", "description": "Online media synchronizer and chat", - "version": "3.50.0", + "version": "3.50.1", "repository": { "url": "http://github.com/calzoneman/sync" }, diff --git a/src/config.js b/src/config.js index 0112e71f..6f088c91 100644 --- a/src/config.js +++ b/src/config.js @@ -32,7 +32,6 @@ var defaults = { } ], http: { - domain: "http://localhost", "default-port": 8080, "root-domain": "localhost", "alt-domains": ["127.0.0.1"], @@ -263,7 +262,6 @@ function preprocessConfig(cfg) { } // Strip trailing slashes from domains - cfg.http.domain = cfg.http.domain.replace(/\/*$/, ""); cfg.https.domain = cfg.https.domain.replace(/\/*$/, ""); // Socket.IO URLs