fix cors_plug
All checks were successful
Build and Publish / build-release (push) Successful in 1m21s

This commit is contained in:
2026-04-16 16:07:04 -05:00
parent ccb282251a
commit 9da5817f61
4 changed files with 9 additions and 2 deletions

View File

@@ -35,6 +35,11 @@ if amqp_url do
config :policy_service, :amqp_url, amqp_url
end
cors_origin = System.get_env("CORS_ORIGIN", "*")
config :cors_plug,
origin: cors_origin
# ## Using releases
#
# If you use `mix release`, you need to explicitly enable the server