Skip to content

Commit bb5bd70

Browse files
authored
Merge pull request #1640 from code-corps/fix-websockets-url
Fix websocket URL
2 parents 417c289 + 67e6f6b commit bb5bd70

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

config/environment.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ module.exports = function(environment) {
151151

152152
if (environment === 'remote-development') {
153153
ENV.API_BASE_URL = 'http://api.pbqrpbecf-qri.org';
154-
ENV.SOCKETS_BASE_URL = 'ws://pbqrpbecf-qri.org/socket';
154+
ENV.SOCKETS_BASE_URL = 'ws://www.pbqrpbecf-qri.org/socket';
155155
ENV.WEB_BASE_URL = 'http://www.pbqrpbecf-qri.org';
156156
ENV.cloudinary.cloud = 'dlcthdxrt';
157157
ENV.cloudinary.uploadPreset = 'gp6mt4v3';
@@ -177,7 +177,7 @@ module.exports = function(environment) {
177177

178178
if (environment === 'staging') {
179179
ENV.API_BASE_URL = 'http://api.pbqrpbecf.org';
180-
ENV.SOCKETS_BASE_URL = 'ws://pbqrpbecf.org/socket';
180+
ENV.SOCKETS_BASE_URL = 'ws://www.pbqrpbecf.org/socket';
181181
ENV.WEB_BASE_URL = 'http://www.pbqrpbecf.org';
182182
ENV.cloudinary.cloud = 'dlcthdxrt';
183183
ENV.cloudinary.uploadPreset = 'gp6mt4v3';
@@ -218,7 +218,7 @@ module.exports = function(environment) {
218218

219219
if (environment === 'production') {
220220
ENV.API_BASE_URL = 'https://api.codecorps.org';
221-
ENV.SOCKETS_BASE_URL = 'wss://codecorps.org/socket';
221+
ENV.SOCKETS_BASE_URL = 'wss://www.codecorps.org/socket';
222222
ENV.WEB_BASE_URL = 'https://www.codecorps.org';
223223
ENV.cloudinary.cloud = 'dtrnlbt7o';
224224
ENV.cloudinary.uploadPreset = 'n5zjzoqc';

0 commit comments

Comments
 (0)