Commit 00ef16a6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Setting: Disable port if https

parent abc360fe
...@@ -19,8 +19,12 @@ class Settings < Settingslogic ...@@ -19,8 +19,12 @@ class Settings < Settingslogic
end end
def web_port def web_port
if web.https
nil
else
web['port'] ||= 80 web['port'] ||= 80
end end
end
def build_url def build_url
raw_url = self.web_protocol raw_url = self.web_protocol
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment