Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
React-config: ws -> wss
Browse files Browse the repository at this point in the history
  • Loading branch information
harbu committed Mar 21, 2018
1 parent 8928582 commit 8884535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-app/react-app/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ const isProd = process.env.NODE_ENV === 'production'

// TODO: add more stuff here (e.g. apiUrl)
module.exports = {
wsUrl: process.env.WS_URL || (isProd && 'ws://www.streamr.com/api/v1/ws') || 'ws://127.0.0.1:8890/api/v1/ws'
wsUrl: process.env.WS_URL || (isProd && 'wss://www.streamr.com/api/v1/ws') || 'ws://127.0.0.1:8890/api/v1/ws'
}

0 comments on commit 8884535

Please sign in to comment.