Skip to content

Commit b2ddd68

Browse files
committed
Add localhost to allowed hosts
In order for the forms-runnner review apps to make API calls to the forms-admin app in the review app environment we need to allow localhost as an allowed host.
1 parent ecf6b9c commit b2ddd68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/host_patterns.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ module HostPatterns
55
/admin\.internal.[^.]*\.forms\.service\.gov\.uk/,
66
/pr-[^.]*\.admin\.review\.forms\.service\.gov\.uk/,
77
/pr-[^.]*-admin\.submit\.review\.forms\.service\.gov\.uk/,
8+
"localhost",
89
].freeze
910
end

0 commit comments

Comments
 (0)