From d616f940fdc77ebbc934d433c69fe8bb8492a98e Mon Sep 17 00:00:00 2001 From: Jah Seng Lee Date: Sun, 28 Apr 2024 15:47:39 +0900 Subject: [PATCH] Don't include '/cable' in url specification --- config/environments/production.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 75b4fd2..8f76985 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -44,9 +44,9 @@ config.action_cable.mount_path = "/cable" config.action_cable.url = ENV["HEROKU_ENV"] == "staging" ? ( - "wss://socket.staging.nomadstation.io/cable" + "wss://socket.staging.nomadstation.io/" ) : ( - "wss://socket.nomadstation.io/cable" + "wss://socket.nomadstation.io/" ) # config.action_cable.allowed_request_origins = [ "http://example.com", /http:\/\/example.*/ ]