mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix: upgrade web dependencies and stabilize plugin routes (#6383)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user