Skip to content

Local dev updates#13

Open
leohemsted wants to merge 2 commits intomainfrom
local-dev-updates
Open

Local dev updates#13
leohemsted wants to merge 2 commits intomainfrom
local-dev-updates

Conversation

@leohemsted
Copy link
Contributor

these are needed for doc dl development.

You'll want to edit your private/document-download-frontend.env file to rename server_name to document_download_frontend_hostname

Probs best to be merged shortly after

Leo Hemsted added 2 commits January 9, 2024 18:50
instead of server_name. this is now used on all hosted envs to work out
cookie details - see
alphagov/document-download-frontend#205 for
details.

note: you will need to update your private doc dl frontend file to
reflect the change in var name
diff --git a/document-download-frontend.env.tmpl b/document-download-frontend.env.tmpl
index b6f4412..a959450 100644
--- a/document-download-frontend.env.tmpl
+++ b/document-download-frontend.env.tmpl
@@ -4,7 +4,7 @@ FLASK_DEBUG=1
 WERKZEUG_DEBUG_PIN=off
 NOTIFY_ENVIRONMENT=development

-SERVER_NAME=frontend.document-download.localhost:7001
+DOCUMENT_DOWNLOAD_FRONTEND_HOST_NAME=frontend.document-download.localhost:7001

 API_HOST_NAME=http://notify-api.localhost:6011
 DOCUMENT_DOWNLOAD_API_HOST_NAME=http://api.document-download.localhost:7000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant