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

[FEATURE] Make app.static_folder point to app.config['STATIC_FOLDER'] #853

Open
DUOLabs333 opened this issue Sep 28, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@DUOLabs333
Copy link
Contributor

DUOLabs333 commented Sep 28, 2022

Describe the feature you'd like to see added
Right now, app.static_folder is hardcoded to point within inside the module folder. This makes it hard to make it portable (or in my case, package whoogle as a zipapp), as Flask looks inside app.static_folder+'/build' instead of app.config['BUILD_FOLDER']. app.config['STATIC_FOLDER'] is much more portable.

Additional context
Add any other context or screenshots about the feature request here.

@DUOLabs333 DUOLabs333 added the enhancement New feature or request label Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant