mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 02:51:14 +08:00
use_ssl is just confusing, it means use_https , fix name of setting
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user