port
Some checks failed
Build and Deploy / Build & Push Image (push) Has been cancelled

This commit is contained in:
2026-03-16 18:48:26 -06:00
parent 9a30e499f4
commit 960663e59d
2 changed files with 1 additions and 13 deletions

View File

@@ -8,18 +8,6 @@ import Config
config :cobblemon_ui, CobblemonUiWeb.Endpoint,
cache_static_manifest: "priv/static/cache_manifest.json"
# Force using SSL in production. This also sets the "strict-security-transport" header,
# known as HSTS. If you have a health check endpoint, you may want to exclude it below.
# Note `:force_ssl` is required to be set at compile-time.
config :cobblemon_ui, CobblemonUiWeb.Endpoint,
force_ssl: [
rewrite_on: [:x_forwarded_proto],
exclude: [
# paths: ["/health"],
hosts: ["localhost", "127.0.0.1"]
]
]
# Do not print debug messages in production
config :logger, level: :info

View File

@@ -41,7 +41,7 @@ if config_env() == :prod do
config :cobblemon_ui, :dns_cluster_query, System.get_env("DNS_CLUSTER_QUERY")
config :cobblemon_ui, CobblemonUiWeb.Endpoint,
url: [host: host, port: 443, scheme: "https"],
url: [host: host, port: 80, scheme: "http"],
http: [
# Enable IPv6 and bind on all interfaces.
# Set it to {0, 0, 0, 0, 0, 0, 0, 1} for local network only access.