diff --git a/src/web/snippet/pluginInfo.html b/src/web/snippet/pluginInfo.html index 692a06b..71e514d 100644 --- a/src/web/snippet/pluginInfo.html +++ b/src/web/snippet/pluginInfo.html @@ -139,6 +139,26 @@
+The following API endpoints are registered by this plugin and will be accessible by the plugin's API key:
+Endpoint | +Method | +Reason | +
---|
+ Note that the API endpoints are only accessible by the plugin's API key. + If the plugin does not have an API key, it will not be able to access these endpoints. + API keys are generated automatically by Zoraxy when a plugin with permitted API endpoints is enabled. +
+ @@ -219,6 +239,22 @@ $("#dynamic_capture_sniffing_path").text(dynamicCaptureSniffingPath); $("#dynamic_capture_ingress").text(dynamicCaptureIngress); $("#registered_ui_proxy_path").text(registeredUIProxyPath); + + //Update permitted API endpoints + let apiEndpoints = data.Spec.permitted_api_endpoints; + if (apiEndpoints == null || apiEndpoints.length == 0) { + $("#plugin_permitted_api_endpoints").html('