moved hashapipath to reusable single helper
This commit is contained in:
@@ -4,8 +4,6 @@ import nextConnect from "next-connect";
|
||||
import { hashAPIPath } from "../../../actions/core/hash";
|
||||
import middleware from "../middleware/middleware";
|
||||
|
||||
const WORDKEY = process.env.HASHKEY;
|
||||
|
||||
const ApiProxy = nextConnect();
|
||||
|
||||
ApiProxy.use(middleware);
|
||||
|
||||
Reference in New Issue
Block a user