mirror of
https://github.com/neocities/neocities.git
synced 2025-08-05 17:18:02 +02:00
disable surf mode until we can figure out what to do about the clickjacking restrictions
This commit is contained in:
parent
8dab34bc39
commit
f6ba160db6
5 changed files with 12 additions and 7 deletions
|
@ -938,6 +938,11 @@ class Site < Sequel::Model
|
|||
!domain.empty? ? domain : "#{username}.neocities.org"
|
||||
end
|
||||
|
||||
def uri
|
||||
# Switch-over for when SSL defaulting is ready
|
||||
"http://#{host}"
|
||||
end
|
||||
|
||||
def title
|
||||
if values[:title].nil? || values[:title].empty?
|
||||
!domain.nil? && !domain.empty? ? domain : "#{username}.neocities.org"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue