webpages can now be a image or pdf

This commit is contained in:
daniel31x13
2023-11-25 03:19:02 -05:00
parent 676c7c3a5d
commit b88fa446be
12 changed files with 156 additions and 15 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ export default async function readFile(filePath: string) {
return {
file: "File not found.",
contentType: "text/plain",
status: 400,
status: 404,
};
else {
const file = fs.readFileSync(creationPath);