mirror of
https://github.com/not-kennethreitz/flask-sslify.git
synced 2026-06-05 15:00:21 +00:00
self.app in __init__ is not needed anymore
This commit is contained in:
@@ -10,7 +10,6 @@ class SSLify(object):
|
||||
|
||||
def __init__(self, app=None, age=YEAR_IN_SECS, subdomains=False, permanent=False):
|
||||
if app is not None:
|
||||
self.app = app
|
||||
self.hsts_age = age
|
||||
self.hsts_include_subdomains = subdomains
|
||||
self.permanent = permanent
|
||||
|
||||
Reference in New Issue
Block a user