mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
remove unessecary file
This commit is contained in:
@@ -1,10 +0,0 @@
|
|||||||
import { NextApiRequest } from "next";
|
|
||||||
import { fief, getFiefAuth } from "../../lib/fief";
|
|
||||||
// type FiefNextApiHandler<T> = (req: NextApiRequest & AuthenticateRequestResult, res: NextApiResponse<T>) => unknown | Promise<unknown>;
|
|
||||||
|
|
||||||
export default (req: any, res) => {
|
|
||||||
const domain = req.url;
|
|
||||||
console.log("user", req.url, getFiefAuth("localhost").currentUser());
|
|
||||||
return getFiefAuth("localhost").currentUser()(req, res);
|
|
||||||
};
|
|
||||||
// export default fief.currentUser()
|
|
||||||
Reference in New Issue
Block a user