Flask-Assets should use the regular request context #9

Closed
julen opened this Issue Aug 11, 2011 · 3 comments

Comments

Projects
None yet
2 participants

julen commented Aug 11, 2011

I'm deploying my Flask app in a location that requires a prefix in the URL and I'm using a middleware to prepend the prefix to the WSGI's SCRIPT_NAME. When this is used in combination with Flask-Assets, the resulting URLs for assets are incorrect, as they are not processed within the same request context and they lack the prefix.

For reference on the issue, see the Flask mailing list thread.

@miracle2k miracle2k closed this in 0092230 Aug 12, 2011

julen commented Aug 12, 2011

Cool, thanks for the quick fix! Any plans for a bugfix release?

Owner

miracle2k commented Aug 12, 2011

As you wish... 0.5.1 is on PyPI.

julen commented Aug 12, 2011

Thanks! Really appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment