From 49abbbbedca83b9031d3e2eb3ae9ad9b6a7d96ed Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 14 Nov 2016 20:03:04 +0100 Subject: Pod URL -> pod host. HTTPS is required to make friends. Reason: in a network with mix http/https pods, https pods won't be able to play videos from http pod (insecure requests). --- server/initializers/constants.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/initializers/constants.js') diff --git a/server/initializers/constants.js b/server/initializers/constants.js index c808aff5f..d8a13d066 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js @@ -14,7 +14,7 @@ const PAGINATION_COUNT_DEFAULT = 15 // Sortable columns per schema const SEARCHABLE_COLUMNS = { - VIDEOS: [ 'name', 'magnetUri', 'podUrl', 'author', 'tags' ] + VIDEOS: [ 'name', 'magnetUri', 'podHost', 'author', 'tags' ] } // Sortable columns per schema @@ -55,6 +55,7 @@ const CONFIG = { } } CONFIG.WEBSERVER.URL = CONFIG.WEBSERVER.SCHEME + '://' + CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.WEBSERVER.PORT +CONFIG.WEBSERVER.HOST = CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.WEBSERVER.PORT // --------------------------------------------------------------------------- -- cgit v1.2.3