Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FLASK_STATIC_DIGEST_WHITELIST_FILTER #32

Open
coreybrett opened this issue May 5, 2022 · 3 comments
Open

FLASK_STATIC_DIGEST_WHITELIST_FILTER #32

coreybrett opened this issue May 5, 2022 · 3 comments

Comments

@coreybrett
Copy link

A FLASK_STATIC_DIGEST_WHITELIST_FILTER option would be nice.

@nickjj
Copy link
Owner

nickjj commented May 5, 2022

Hi, there is currently a black list if you want to omit certain things. It's file type based too.

Do you have a use case where a white list would add a lot of value vs a black list given there's only typically a handful of file types being served as static files?

@coreybrett
Copy link
Author

coreybrett commented May 5, 2022 via email

@nickjj
Copy link
Owner

nickjj commented May 5, 2022

Ah, in that case having a double hashed filename is the only outcome? Typically these files would be bundled into a single main or application file using esbuild, Webpack or whatever tool you use and then that would be digested by this extension but things should still work as is with your set up too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants