Add security policy for chrome

This commit is contained in:
Gardner Bickford
2022-06-18 14:15:42 +12:00
parent a9c051b743
commit ca04fd42f3
5 changed files with 1563 additions and 8 deletions
-2
View File
@@ -32,7 +32,6 @@ app.get("/api", async (req, res) => {
});
app.get("/screenshots/:id", async (req, res) => {
console.log(screenshotDirectory + "/" + sanitize(req.params.id));
res.sendFile(
screenshotDirectory + "/" + sanitize(req.params.id),
(err) => {
@@ -44,7 +43,6 @@ app.get("/screenshots/:id", async (req, res) => {
});
app.get("/pdfs/:id", async (req, res) => {
console.log(pdfDirectory + "/" + sanitize(req.params.id));
res.sendFile(
pdfDirectory + "/" + sanitize(req.params.id),
(err) => {