2
0
Fork 0
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:
Guo Xiang Tan 2016-06-27 17:26:43 +08:00
parent 83b08b87d5
commit 20359788dc
No known key found for this signature in database
GPG key ID: 19C321C8952B0F72
16 changed files with 75 additions and 18 deletions

View file

@ -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