Change web blueprint static URL path to avoid conflict
The main Flask app and web blueprint both used /static, causing conflicts. Changed web blueprint to use /web-static instead. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
This commit is contained in:
@@ -11,5 +11,5 @@ web_bp = Blueprint(
|
|||||||
__name__,
|
__name__,
|
||||||
template_folder=os.path.join(_pkg_dir, "templates"),
|
template_folder=os.path.join(_pkg_dir, "templates"),
|
||||||
static_folder=os.path.join(_pkg_dir, "static"),
|
static_folder=os.path.join(_pkg_dir, "static"),
|
||||||
static_url_path="/static",
|
static_url_path="/web-static",
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user