Skip to content

Commit

Permalink
config.beta.js update backend_url to HTTPS
Browse files Browse the repository at this point in the history
Now that the beta site is being served over HTTPS, pages which used the backend were not able to connect to it because the backend was being requested via HTTP. 
Update the config template to request the backend via HTTPS.

Mixed Content: The page at 'https://brcaexchange-prod.gi.ucsc.edu/releases' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://brcaexchange-prod.gi.ucsc.edu/backend/data/releases'. This request has been blocked; the content must be served over HTTPS.
  • Loading branch information
e-t-k authored Aug 13, 2024
1 parent b5dcbe1 commit 08fda49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/site_settings/config.beta.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
baseurl: '/',
captcha_key: '', /* reCAPTCHA API key */
maps_key: '', /* Google maps javascript API key */
backend_url: 'http://brcaexchange-prod.gi.ucsc.edu/backend',
backend_url: 'https://brcaexchange-prod.gi.ucsc.edu/backend',
analytics: null,
environment: 'beta'
};
Expand Down

0 comments on commit 08fda49

Please sign in to comment.