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

@@ -5,10 +5,6 @@ defmodule PolicyServiceWeb.Router do
alias PolicyServiceWeb.HealthController
pipeline :api do
plug CORSPlug,
origin: ["*"],
headers: ["*"]
plug OpenApiSpex.Plug.PutApiSpec, module: PolicyServiceWeb.ApiSpec
end