Skip to content

Commit

Permalink
updated base
Browse files Browse the repository at this point in the history
  • Loading branch information
LUISDASARTIMANHAS committed Feb 3, 2024
1 parent 8973a1d commit 645a78c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions modules/checkHeaderMiddleware.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import fs from "fs";
import path from "path";
import xss from "xss";
import {fileURLToPath} from 'url'
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const filesServer = __dirname + "/../src/";
const path_pages = filesServer + "pages/";
const forbiddenFilePath = path.join(path_pages, "forbidden.html");
Expand Down
1 change: 0 additions & 1 deletion start.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ app.use((req, res, next) => {
}
next();
});
autoEditais(dia, dia7, mes, ano);

app.use(pages);
app.use((req, res, next) => {
Expand Down

0 comments on commit 645a78c

Please sign in to comment.