1
0
mirror of https://github.com/karl0ss/homepage.git synced 2025-05-20 05:06:20 +01:00
shamoon 19c25713c4 Run pre-commit hooks over existing codebase
Co-Authored-By: Ben Phelps <ben@phelps.io>
2023-10-18 09:49:33 -07:00

21 lines
367 B
JavaScript

import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = {
api: "{url}/api/v2/portfolio/performance?range={endpoint}",
proxyHandler: credentialedProxyHandler,
mappings: {
today: {
endpoint: "1d",
},
year: {
endpoint: "1y",
},
max: {
endpoint: "max",
},
},
};
export default widget;