Skip to content

Commit

Permalink
Add ALLOW_LOCAL_CONTENT_ITEM_OVERRIDE=true to heroku config and start…
Browse files Browse the repository at this point in the history
…up.sh
  • Loading branch information
KludgeKML committed Nov 14, 2024
1 parent 653644f commit de1459c
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 @@ -2,6 +2,9 @@
"name": "Frontend",
"repository": "https://github.com/alphagov/frontend",
"env": {
"ALLOW_LOCAL_CONTENT_ITEM_OVERRIDE": {
"value": "true"
},
"GOVUK_APP_DOMAIN": {
"value": "www.gov.uk"
},
Expand Down
1 change: 1 addition & 0 deletions startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
bundle check || bundle install

if [[ $1 == "--live" ]] ; then
ALLOW_LOCAL_CONTENT_ITEM_OVERRIDE=true \
GOVUK_APP_DOMAIN=www.gov.uk \
GOVUK_WEBSITE_ROOT=https://www.gov.uk \
GOVUK_PROXY_STATIC_ENABLED=true \
Expand Down

0 comments on commit de1459c

Please sign in to comment.