Skip to content

Commit 1d2570c

Browse files
committed
Allow requests to localhost for forms-admin
Add localhost:3000 to the allowed hosts for forms-admin so that it allows requests from forms-runner to the forms-admin API over the local network without authorization being required.
1 parent b379de8 commit 1d2570c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.review_apps/ecs_task_definition.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ locals {
4545
{ name = "SETTINGS__AUTH_PROVIDER", value = "developer" },
4646
{ name = "SETTINGS__FORMS_ENV", value = "review" },
4747
{ name = "SETTINGS__FORMS_RUNNER__URL", value = "https://${local.runner_review_app_hostname}" },
48+
{ name = "ALLOWED_HOST_PATTERNS", value = "localhost:3000" }
4849
]
4950
}
5051

0 commit comments

Comments
 (0)