Skip to content
Snippets Groups Projects
Commit 00ef16a6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Setting: Disable port if https

parent abc360fe
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment