Updated check origin in release environment (#67)

This commit is contained in:
Kieran
2024-03-10 15:31:40 -07:00
committed by GitHub
parent 19ec13e64c
commit c0a11e98d9
2 changed files with 2 additions and 1 deletions
+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],