fix: use trailing slash in plugin blueprint url_prefix

This commit is contained in:
2026-03-17 21:29:38 -04:00
parent c6b3672a49
commit 400e0ee1b4
+1 -1
View File
@@ -113,7 +113,7 @@ def load_plugins(app: "Quart") -> None:
if hasattr(module, "get_blueprint"):
try:
bp = module.get_blueprint()
app.register_blueprint(bp, url_prefix=f"/plugins/{name}")
app.register_blueprint(bp, url_prefix=f"/plugins/{name}/")
logger.info("Plugin %r: blueprint registered at /plugins/%s/", name, name)
except Exception:
logger.exception("Plugin %r: get_blueprint() raised", name)