Merge pull request #131 from Chroma-Case/tmp_branch_fix_front
invert shaddy condition
This commit is contained in:
@@ -22,7 +22,7 @@ type PlayViewProps = {
|
||||
let scoroBaseApiUrl = Constants.manifest?.extra?.scoroUrl;
|
||||
|
||||
if (process.env.NODE_ENV != 'development' && Platform.OS === 'web') {
|
||||
if (location.protocol !== 'https:') {
|
||||
if (location.protocol === 'https:') {
|
||||
scoroBaseApiUrl = "wss://" + location.host + "/ws";
|
||||
} else {
|
||||
scoroBaseApiUrl = "ws://" + location.host + "/ws";
|
||||
|
||||
Reference in New Issue
Block a user