[GH-ISSUE #853] [FEATURE] Make app.static_folder point to app.config['STATIC_FOLDER'] #535

Closed
opened 2026-02-25 20:35:59 +03:00 by kerem · 0 comments
Owner

Originally created by @DUOLabs333 on GitHub (Sep 28, 2022).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/853

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.

Originally created by @DUOLabs333 on GitHub (Sep 28, 2022). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/853 <!-- DO NOT REQUEST UI/THEME/GUI/APPEARANCE IMPROVEMENTS HERE THESE SHOULD GO IN ISSUE #60 REQUESTING A NEW FEATURE SHOULD BE STRICTLY RELATED TO NEW FUNCTIONALITY --> **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.
kerem 2026-02-25 20:35:59 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#535
No description provided.