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

Setting: Disable port if https

parent abc360fe
......@@ -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
......
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