mirror of
https://github.com/discourse/discourse.git
synced 2025-08-21 19:11:18 +08:00
use_ssl is just confusing, it means use_https , fix name of setting
This commit is contained in:
parent
5a036fc17e
commit
1533a1163c
25 changed files with 15 additions and 32 deletions
|
@ -107,7 +107,7 @@ module Discourse
|
|||
default_port = 80
|
||||
protocol = "http"
|
||||
|
||||
if SiteSetting.use_ssl?
|
||||
if SiteSetting.use_https?
|
||||
protocol = "https"
|
||||
default_port = 443
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue