Add root favicons
@ -46,6 +46,19 @@ module Websites
|
||||
/^i\.oceanic\.ws/ => "/oceanic.ws/images",
|
||||
%r{^yiff\.rest/Blep\.png$} => "/yiff.rest",
|
||||
%r{^yiff\.rocks/mascots} => "/yiff.rocks",
|
||||
# Favicons
|
||||
%r{^balls\.butts-are\.cool/favicon\.ico} => "/butts-are.cool/custom/balls",
|
||||
%r{^cocks\.butts-are\.cool/favicon\.ico} => "/butts-are.cool/custom/cocks",
|
||||
%r{^knots\.butts-are\.cool/favicon\.ico} => "/butts-are.cool/custom/knots",
|
||||
%r{^sheaths\.butts-are\.cool/favicon\.ico} => "/butts-are.cool/custom/sheaths",
|
||||
%r{^(.*\.)?butts-are\.cool/favicon\.ico} => "/butts-are.cool",
|
||||
%r{^(.*\.)?e621\.ws/favicon\.ico} => "/e621.ws",
|
||||
%r{^(.*\.)?furry\.cool/favicon\.ico} => "/furry.cool",
|
||||
%r{^(.*\.)?maidboye\.cafe/favicon\.ico} => "/maidboye.cafe",
|
||||
%r{^(.*\.)?oceanic\.ws/favicon\.ico} => "/oceanic.ws",
|
||||
%r{^(.*\.)?yiff\.media/favicon\.ico} => "/yiff.media",
|
||||
%r{^(.*\.)?yiff\.rest/favicon\.ico} => "/yiff.media",
|
||||
%r{^(.*\.)?yiff\.rocks/favicon\.ico} => "/yiff.media",
|
||||
})
|
||||
end
|
||||
end
|
||||
|
@ -18,10 +18,10 @@ class DomainConstraint
|
||||
private
|
||||
|
||||
def domain_matches?(request)
|
||||
@domain.nil? || request.domain == @domain
|
||||
request.domain == @domain
|
||||
end
|
||||
|
||||
def subdomain_matches?(request)
|
||||
@subdomain.nil? || request.subdomain == @subdomain
|
||||
(@subdomain.nil? && request.subdomain.blank?) || request.subdomain == @subdomain
|
||||
end
|
||||
end
|
||||
|
BIN
public/butts-are.cool/custom/balls/favicon.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
public/butts-are.cool/custom/cocks/favicon.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
public/butts-are.cool/custom/knots/favicon.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
public/butts-are.cool/custom/sheaths/favicon.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
public/butts-are.cool/favicon.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
public/e621.ws/favicon.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
public/furry.cool/favicon.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
public/maidboye.cafe/favicon.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
public/oceanic.ws/favicon.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
public/yiff.media/favicon.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |