move cors up
All checks were successful
Build and Publish / build-release (push) Successful in 1m13s

This commit is contained in:
2026-05-14 10:40:48 -05:00
parent c3eb2471dc
commit a83563a576
2 changed files with 5 additions and 4 deletions

View File

@@ -45,5 +45,10 @@ defmodule PolicyServiceWeb.Endpoint do
plug Plug.MethodOverride
plug Plug.Head
plug Plug.Session, @session_options
plug CORSPlug,
origin: ["*"],
headers: ["*"]
plug PolicyServiceWeb.Router
end