mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 00:08:46 +00:00
Fix force_ssl conditional (#6201)
This commit is contained in:
committed by
Eugen Rochko
parent
da809f9eec
commit
1d92b90be9
@@ -30,7 +30,7 @@ class ApplicationController < ActionController::Base
|
||||
private
|
||||
|
||||
def https_enabled?
|
||||
Rails.env.production? && ENV['LOCAL_HTTPS'] == 'true'
|
||||
Rails.env.production?
|
||||
end
|
||||
|
||||
def store_current_location
|
||||
|
||||
Reference in New Issue
Block a user