diff --git a/backend/lib/backend_web/endpoint.ex b/backend/lib/backend_web/endpoint.ex index d2028dd..3325c3d 100644 --- a/backend/lib/backend_web/endpoint.ex +++ b/backend/lib/backend_web/endpoint.ex @@ -46,7 +46,7 @@ defmodule BackendWeb.Endpoint do ) plug(Corsica, - origins: ["http://localhost:3000", ~r{^https?://(.*\.?)fediverse\.space$}], + origins: ["http://localhost:3000", ~r{^https://(.*\.?)fediverse\.space$}, ~r{^https://(.*\.?)fediverse-space\.netlify\.app$}], allow_headers: ["content-type", "token"] )