flask-sslify icon indicating copy to clipboard operation
flask-sslify copied to clipboard

Use with app factory pattern has been broken

Open joshfriend opened this issue 9 years ago • 3 comments
trafficstars

Since v0.1.5, any app using this extension with the app factory pattern crashes on startup because current_app is being manipulated without an active application context.

This regression was introduced by #28.

Merging #32 should fix this issue.

joshfriend avatar Feb 18 '16 19:02 joshfriend

#45 will also fix this issue

joshfriend avatar Jul 12 '16 19:07 joshfriend

Over a year later and still no merge to fix app factory pattern?

zerox1212 avatar Sep 29 '17 05:09 zerox1212

Also, https://github.com/kennethreitz/flask-sslify/pull/45 didn't work for me, but https://github.com/kennethreitz/flask-sslify/pull/32 did.

zerox1212 avatar Sep 29 '17 05:09 zerox1212