mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 22:48:46 +00:00
homepage-plus
This commit is contained in:
parent
cadf1433af
commit
e70743048b
16 changed files with 262 additions and 52 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