move cors up
All checks were successful
Build and Publish / build-release (push) Successful in 1m13s
All checks were successful
Build and Publish / build-release (push) Successful in 1m13s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user