fix plugin file api

This commit is contained in:
jxxghp
2025-05-06 23:30:26 +08:00
parent d2e5367dc6
commit abe091254a
2 changed files with 2 additions and 2 deletions

View File

@@ -541,7 +541,7 @@ class PluginManager(metaclass=Singleton):
dist_path = dist_path[1:]
if dist_path.endswith("/"):
dist_path = dist_path[:-1]
return f"/plugin/file/{plugin_id.lower()}/{dist_path}/remoteEntry.js?token={settings.API_TOKEN}"
return f"/plugin/file/{plugin_id.lower()}/{dist_path}/remoteEntry.js"
def get_plugin_remotes(self, pid: Optional[str] = None) -> List[Dict[str, Any]]:
"""