mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 14:38:47 +00:00
homepage-plus
This commit is contained in:
parent
43decb0ed9
commit
92ba111e19
15 changed files with 271 additions and 56 deletions
|
@ -1,5 +1,8 @@
|
|||
import { readIdentitySettings } from "utils/identity/identity-helpers";
|
||||
import { widgetsResponse } from "utils/config/api-response";
|
||||
import { getSettings } from "utils/config/config";
|
||||
|
||||
export default async function handler(req, res) {
|
||||
res.send(await widgetsResponse());
|
||||
const { provider } = readIdentitySettings(getSettings().identity);
|
||||
res.send(await widgetsResponse(provider.getIdentity(req)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue