Andre acc19ccca1
Add Tailscale Widget (#1468)
* Added tailscale widget

* finished tailscale widget

* Consolidated date comparison to it's own function

* Modified to follow Airbnb's style guide

* Removed refresh and added translations

* fix some tailscale translation strings

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-05-06 21:09:33 -07:00

15 lines
293 B
JavaScript

import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = {
api: "https://api.tailscale.com/api/v2/{endpoint}/{deviceid}",
proxyHandler: credentialedProxyHandler,
mappings: {
device: {
endpoint: "device",
},
},
};
export default widget;