mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-19 11:09:50 +00:00
utils cleanup, initial static generation
This commit is contained in:
parent
ec8700f3e9
commit
e1a3a82f75
86 changed files with 279 additions and 261 deletions
|
@ -1,18 +1,18 @@
|
|||
import credentialedProxyHandler from "utils/proxies/credentialed";
|
||||
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
||||
|
||||
const widget = {
|
||||
api: "{url}/api/v3/{endpoint}",
|
||||
proxyHandler: credentialedProxyHandler,
|
||||
|
||||
mappings: {
|
||||
"users": {
|
||||
endpoint: "core/users?page_size=1"
|
||||
users: {
|
||||
endpoint: "core/users?page_size=1",
|
||||
},
|
||||
"login": {
|
||||
endpoint: "events/events/per_month/?action=login&query={}"
|
||||
login: {
|
||||
endpoint: "events/events/per_month/?action=login&query={}",
|
||||
},
|
||||
"login_failed": {
|
||||
endpoint: "events/events/per_month/?action=login_failed&query={}"
|
||||
login_failed: {
|
||||
endpoint: "events/events/per_month/?action=login_failed&query={}",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue