From 01dbb853bdcdee76a0f29f8999f6572b258cf420 Mon Sep 17 00:00:00 2001 From: Maximilian Grundke Date: Mon, 30 Apr 2018 13:22:03 +0200 Subject: [PATCH] Use standardized protocol string for Edge/IE11 compatibility --- config/docker.yml.erb.example | 4 ++-- config/docker.yml.erb.travis | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/docker.yml.erb.example b/config/docker.yml.erb.example index eb1af61e..5d9f42de 100644 --- a/config/docker.yml.erb.example +++ b/config/docker.yml.erb.example @@ -9,7 +9,7 @@ development: <<: *default host: tcp://127.0.0.1:2376 ws_host: ws://127.0.0.1:2376 #url to connect rails server to docker host - ws_client_protocol: ws:// #set the websocket protocol to be used by the client to connect to the rails server (ws on development, wss on production) + ws_client_protocol: 'ws:' #set the websocket protocol to be used by the client to connect to the rails server (ws on development, wss on production) workspace_root: <%= Rails.root.join('tmp', 'files', Rails.env) %> pool: active: true @@ -32,7 +32,7 @@ production: timeout: 60 workspace_root: <%= Rails.root.join('tmp', 'files', Rails.env) %> ws_host: ws://localhost:4243 #url to connect rails server to docker host - ws_client_protocol: wss:// #set the websocket protocol to be used by the client to connect to the rails server (ws on development, wss on production) + ws_client_protocol: 'wss:' #set the websocket protocol to be used by the client to connect to the rails server (ws on development, wss on production) staging: <<: *default diff --git a/config/docker.yml.erb.travis b/config/docker.yml.erb.travis index eb1af61e..5d9f42de 100644 --- a/config/docker.yml.erb.travis +++ b/config/docker.yml.erb.travis @@ -9,7 +9,7 @@ development: <<: *default host: tcp://127.0.0.1:2376 ws_host: ws://127.0.0.1:2376 #url to connect rails server to docker host - ws_client_protocol: ws:// #set the websocket protocol to be used by the client to connect to the rails server (ws on development, wss on production) + ws_client_protocol: 'ws:' #set the websocket protocol to be used by the client to connect to the rails server (ws on development, wss on production) workspace_root: <%= Rails.root.join('tmp', 'files', Rails.env) %> pool: active: true @@ -32,7 +32,7 @@ production: timeout: 60 workspace_root: <%= Rails.root.join('tmp', 'files', Rails.env) %> ws_host: ws://localhost:4243 #url to connect rails server to docker host - ws_client_protocol: wss:// #set the websocket protocol to be used by the client to connect to the rails server (ws on development, wss on production) + ws_client_protocol: 'wss:' #set the websocket protocol to be used by the client to connect to the rails server (ws on development, wss on production) staging: <<: *default