Skip to content

Commit

Permalink
Uncomment check origin list
Browse files Browse the repository at this point in the history
  • Loading branch information
Flo0807 committed Feb 4, 2024
1 parent 4df0fab commit d78d9c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ if config_env() == :prod do

config :website, WebsiteWeb.Endpoint,
url: [host: host, port: 443, scheme: "https"],
# check_origin: [
# "https://farens.me",
# "https://www.farens.me"
# ],
check_origin: [
"https://farens.me",
"https://www.farens.me"
],
http: [
# Enable IPv6 and bind on all interfaces.
# Set it to {0, 0, 0, 0, 0, 0, 0, 1} for local network only access.
Expand Down

0 comments on commit d78d9c7

Please sign in to comment.