Update widget.js

the additional slash causes this widget to fail.

this works:  http://host:port/api?apikey=***&mode=test&output=json
this does not:  http://host:port/api/?apikey=***&mode=test&output=json
This commit is contained in:
revelation1 2024-02-02 12:06:26 -05:00 committed by GitHub
parent 888349bd64
commit c708f6bca8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
import genericProxyHandler from "utils/proxy/handlers/generic"; import genericProxyHandler from "utils/proxy/handlers/generic";
const widget = { const widget = {
api: "{url}/api/?apikey={key}&output=json&mode={endpoint}", api: "{url}/api?apikey={key}&output=json&mode={endpoint}",
proxyHandler: genericProxyHandler, proxyHandler: genericProxyHandler,
mappings: { mappings: {