Skip to content

Commit

Permalink
Added protocol to the pulse domain (#4695)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pomax committed May 28, 2020
1 parent 7f4fb17 commit 48c6996
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -23,7 +23,7 @@ env:
- DJANGO_SECRET_KEY=secret
- NETWORK_SITE_URL=https://foundation.mozilla.org
- PULSE_API_DOMAIN=https://network-pulse-api-production.herokuapp.com
- PULSE_DOMAIN=www.mozillapulse.org
- PULSE_DOMAIN=https://www.mozillapulse.org
- RANDOM_SEED=530910203
- SET_HSTS=False
- SSL_REDIRECT=False
Expand Down
2 changes: 1 addition & 1 deletion app.json
Expand Up @@ -22,7 +22,7 @@
"X_FRAME_OPTIONS": "DENY",
"USE_S3": "True",
"PULSE_API_DOMAIN": "https://network-pulse-api-production.herokuapp.com",
"PULSE_DOMAIN": "www.mozillapulse.org",
"PULSE_DOMAIN": "https://www.mozillapulse.org",
"CSP_CHILD_SRC": "'self' https://www.youtube.com https://www.youtube-nocookie.com",
"CSP_CONNECT_SRC": "*",
"CSP_DEFAULT_SRC": "'none'",
Expand Down
2 changes: 1 addition & 1 deletion env.default
@@ -1,7 +1,7 @@
# Build system environment:

PULSE_API_DOMAIN=https://network-pulse-api-production.herokuapp.com
PULSE_DOMAIN=www.mozillapulse.org
PULSE_DOMAIN=https://www.mozillapulse.org
# Always add a protocol (ex: https://) in front of the NETWORK_SITE_URL, including for localhost
NETWORK_SITE_URL=http://localhost:8000
DOMAIN_REDIRECT_MIDDLEWARE_ENABLED=False
Expand Down
Expand Up @@ -75,7 +75,7 @@ export default class PulseProjectList extends React.Component {
if (this.props.directLink) {
url = project.content_url;
} else {
url = `https://${this.props.env.PULSE_DOMAIN}/entry/${project.id}`;
url = `${this.props.env.PULSE_DOMAIN}/entry/${project.id}`;
}

return (
Expand Down

0 comments on commit 48c6996

Please sign in to comment.