mirror of
https://github.com/neocities/neocities.git
synced 2025-07-22 02:26:07 +02:00
first attempt at a working surf bar proxy
This commit is contained in:
parent
5640f02ee8
commit
a2ac84dc42
5 changed files with 66 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue