Updated check origin in release environment (#67)

This commit is contained in:
Kieran authored and GitHub committed 2024-03-10 15:31:40 -07:00
1 parent 09a4bcb36b
commit 67d7f397d1
2 files changed
+2 -1

No files matched your search

+2
View File
@@ -26,6 +26,8 @@ config :pinchflat,
# Configures the endpoint
config :pinchflat, PinchflatWeb.Endpoint,
url: [host: "localhost", port: 8945],
# NOTE: this must be updated if ever deployed traditionally (ie: not self-hosted)
check_origin: false,
adapter: Phoenix.Endpoint.Cowboy2Adapter,
render_errors: [
formats: [html: PinchflatWeb.ErrorHTML, json: PinchflatWeb.ErrorJSON],