There be a website
This commit is contained in:
parent
64fb080e96
commit
af0907c7c3
65 changed files with 708 additions and 14 deletions
|
|
@ -1,2 +1,9 @@
|
|||
module ApplicationHelper
|
||||
def is_legacy
|
||||
return (
|
||||
request.host === "legacy.wah.moe" or
|
||||
request.host.start_with? ("192.168") or
|
||||
request.headers["Host"] === nil
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue