fix add plugins api

This commit is contained in:
thsrite
2023-10-27 21:28:37 +08:00
parent 2f7570eec1
commit b6e1702051
3 changed files with 21 additions and 3 deletions

View File

@ -489,7 +489,13 @@ class CloudflareSpeedTest(_PluginBase):
}]
def get_api(self) -> List[Dict[str, Any]]:
pass
return [{
"path": "/cloudflare_speedtest",
"endpoint": self.__cloudflareSpeedTest,
"methods": ["GET"],
"summary": "Cloudflare IP优选",
"description": "Cloudflare IP优选",
}]
def get_form(self) -> Tuple[List[dict], Dict[str, Any]]:
"""