mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-07 16:02:10 +08:00
Enhancement: handle immich v1.118 breaking API change (#4110)
This commit is contained in:
@@ -1,18 +1,24 @@
|
||||
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
||||
|
||||
const widget = {
|
||||
api: "{url}/api/server-info/{endpoint}",
|
||||
api: "{url}/api/{endpoint}",
|
||||
proxyHandler: credentialedProxyHandler,
|
||||
|
||||
mappings: {
|
||||
version: {
|
||||
endpoint: "version",
|
||||
endpoint: "server-info/version",
|
||||
},
|
||||
statistics: {
|
||||
endpoint: "statistics",
|
||||
endpoint: "server-info/statistics",
|
||||
},
|
||||
stats: {
|
||||
endpoint: "stats",
|
||||
endpoint: "server-info/stats",
|
||||
},
|
||||
version_v2: {
|
||||
endpoint: "server/version",
|
||||
},
|
||||
statistics_v2: {
|
||||
endpoint: "server/statistics",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user