mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
Rename SiteSetting#use_https
to force_https
.
This commit is contained in:
parent
83b08b87d5
commit
20359788dc
16 changed files with 75 additions and 18 deletions
|
@ -198,7 +198,7 @@ module Discourse
|
|||
default_port = 80
|
||||
protocol = "http"
|
||||
|
||||
if SiteSetting.use_https?
|
||||
if SiteSetting.force_https?
|
||||
protocol = "https"
|
||||
default_port = 443
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue