diff --git a/core/LiteNode/methods/extendResponse.js b/core/LiteNode/methods/extendResponse.js index 49f9b33..1691668 100644 --- a/core/LiteNode/methods/extendResponse.js +++ b/core/LiteNode/methods/extendResponse.js @@ -1,5 +1,6 @@ import { STE } from "../../STE/ste.js" import { getContentType } from "../../utils/getContentType.js" +import { readFileSync } from "node:fs" export function extendResponse(nativeRes) { nativeRes.redirect = (location, statusCode = 302) => {