mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
refactor lidarr widget
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
// const formats = {
|
||||
// lidarr: `{url}/api/v1/{endpoint}?apikey={key}`,
|
||||
// };
|
||||
|
||||
export function formatApiCall(url, args) {
|
||||
const find = /\{.*?\}/g;
|
||||
const replace = (match) => {
|
||||
|
||||
Reference in New Issue
Block a user