mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
Rename SiteSetting#use_https
to force_https
.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user