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

This commit is contained in:
2026-04-16 16:12:29 -05:00
parent 87b9c810dd
commit 1f83d7512c
7 changed files with 16 additions and 7 deletions

View File

@@ -35,6 +35,11 @@ if amqp_url do
config :workload_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