fix cors_plug
All checks were successful
Build and Publish / build-release (push) Successful in 1m21s
All checks were successful
Build and Publish / build-release (push) Successful in 1m21s
This commit is contained in:
@@ -42,7 +42,7 @@ defmodule PolicyServiceWeb.Endpoint do
|
||||
pass: ["*/*"],
|
||||
json_decoder: Phoenix.json_library()
|
||||
|
||||
plug CORSPlug, origin: ["http://localhost:3000"]
|
||||
plug CORSPlug
|
||||
plug Plug.MethodOverride
|
||||
plug Plug.Head
|
||||
plug Plug.Session, @session_options
|
||||
|
||||
Reference in New Issue
Block a user