Setting: Disable port if https
This commit is contained in:
parent
abc360fea3
commit
00ef16a66c
|
@ -19,7 +19,11 @@ class Settings < Settingslogic
|
|||
end
|
||||
|
||||
def web_port
|
||||
web['port'] ||= 80
|
||||
if web.https
|
||||
nil
|
||||
else
|
||||
web['port'] ||= 80
|
||||
end
|
||||
end
|
||||
|
||||
def build_url
|
||||
|
|
Loading…
Reference in a new issue