mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-02 13:33:40 +01:00

* 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>
15 lines
293 B
JavaScript
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;
|