We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6220195 commit 476e2ebCopy full SHA for 476e2eb
lib/algora_web/endpoint.ex
@@ -73,7 +73,7 @@ defmodule AlgoraWeb.Endpoint do
73
74
defp canonical_host(%{host: host} = conn, _opts) do
75
case String.split(host, ".") do
76
- [subdomain, "algora", "io"] when subdomain not in ["app", "console"] ->
+ [subdomain, "algora", "io"] when subdomain not in ["app", "console", "www", "sitemaps"] ->
77
Algora.Activities.alert("👀 Someone is viewing https://#{subdomain}.algora.io", :critical)
78
redirect_to_canonical_host(conn, Path.join(["/#{subdomain}/candidates"]))
79
0 commit comments