Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1164 from alphagov/enable-static-proxy-development
Browse files Browse the repository at this point in the history
  • Loading branch information
theseanything authored Sep 6, 2022
2 parents 7321adc + e8eb1a1 commit 73d7ba8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"GOVUK_WEBSITE_ROOT": {
"value": "https://www.gov.uk"
},
"GOVUK_PROXY_STATIC_ENABLED": {
"value": "true"
},
"PLEK_SERVICE_CONTENT_STORE_URI": {
"value": "https://www.gov.uk/api"
},
Expand Down
1 change: 1 addition & 0 deletions startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ bundle install
if [[ $1 == "--live" ]] ; then
GOVUK_APP_DOMAIN=www.gov.uk \
GOVUK_WEBSITE_ROOT=https://www.gov.uk \
GOVUK_PROXY_STATIC_ENABLED=true \
PLEK_SERVICE_CONTENT_STORE_URI=${PLEK_SERVICE_CONTENT_STORE_URI-https://www.gov.uk/api} \
PLEK_SERVICE_STATIC_URI=${PLEK_SERVICE_STATIC_URI-assets.publishing.service.gov.uk} \
bundle exec rails s -p 3122
Expand Down

0 comments on commit 73d7ba8

Please sign in to comment.