fix: upgrade web dependencies and stabilize plugin routes (#6383)

This commit is contained in:
InfinityPacer
2026-08-22 09:47:13 +08:00
committed by GitHub
parent 7b9499fc5b
commit a90a0e8597
9 changed files with 271 additions and 160 deletions
+2 -1
View File
@@ -57,7 +57,8 @@ class PluginProjection:
if not supports_plugin_hook(plugin, "get_api"):
continue
try:
for api in plugin.get_api() or []:
for source_api in plugin.get_api() or []:
api = dict(source_api)
api["path"] = f"/{plugin_id}{api['path']}"
if not api.get("auth"):
api["auth"] = "apikey"