Skip to content

Commit

Permalink
Don't include '/cable' in url specification
Browse files Browse the repository at this point in the history
  • Loading branch information
jahseng-lee committed Apr 28, 2024
1 parent c61d70d commit d616f94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.*/ ]

Expand Down

0 comments on commit d616f94

Please sign in to comment.