mirror of
https://codeberg.org/JasterV/intisync.ex.git
synced 2026-04-26 18:10:07 +00:00
configuring accepted origins
This commit is contained in:
parent
825fe14811
commit
8a657ecd84
1 changed files with 4 additions and 2 deletions
|
|
@ -7,10 +7,12 @@ import Config
|
||||||
# before starting your production server.
|
# before starting your production server.
|
||||||
config :intisync, IntisyncWeb.Endpoint,
|
config :intisync, IntisyncWeb.Endpoint,
|
||||||
force_ssl: [rewrite_on: [:x_forwarded_proto]],
|
force_ssl: [rewrite_on: [:x_forwarded_proto]],
|
||||||
url: [host: "intisync.gigalixirapp.com", port: 80],
|
url: [host: "intisync.app", port: 80],
|
||||||
cache_static_manifest: "priv/static/cache_manifest.json",
|
cache_static_manifest: "priv/static/cache_manifest.json",
|
||||||
check_origin: [
|
check_origin: [
|
||||||
"//intisync.gigalixirapp.com/"
|
"//intisync.gigalixirapp.com/",
|
||||||
|
"//intisync.app/",
|
||||||
|
"//www.intisync.app/"
|
||||||
]
|
]
|
||||||
|
|
||||||
# Do not print debug messages in production
|
# Do not print debug messages in production
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue