system-info: indicate http mode is default when not set inside config.

This commit is contained in:
Marcin Kuzminski 2016-12-02 12:47:41 +01:00
parent 4fc669b6f9
commit ec9dc48c28

View file

@ -468,7 +468,7 @@ def vcs_server():
server_url = rhodecode.CONFIG.get('vcs.server')
enabled = rhodecode.CONFIG.get('vcs.server.enable')
protocol = rhodecode.CONFIG.get('vcs.server.protocol')
protocol = rhodecode.CONFIG.get('vcs.server.protocol') or 'http'
state = STATE_OK_DEFAULT
version = None