mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-10 10:32:09 +08:00
widget refactoring and cleanup
This commit is contained in:
8
src/widgets/npm/widget.js
Normal file
8
src/widgets/npm/widget.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import npmProxyHandler from "./proxy";
|
||||
|
||||
const widget = {
|
||||
api: "{url}/api/{endpoint}",
|
||||
proxyHandler: npmProxyHandler,
|
||||
};
|
||||
|
||||
export default widget;
|
||||
Reference in New Issue
Block a user