first attempt at a working surf bar proxy

This commit is contained in:
Kyle Drake 2015-03-25 12:54:44 -07:00
parent 5640f02ee8
commit a2ac84dc42
5 changed files with 66 additions and 6 deletions

View file

@ -989,9 +989,13 @@ class Site < Sequel::Model
!domain.empty? ? domain : "#{username}.neocities.org"
end
def uri
def default_schema
# Switch-over for when SSL defaulting is ready
"http://#{host}"
'http'
end
def uri
"#{default_schema}://#{host}"
end
def title