Commit 8e019328 authored by Athanasios's avatar Athanasios
Browse files

Minor fix

parent ccc5242c
......@@ -7,7 +7,7 @@ let router = express.Router();
router.route("/").get((req, res) => {
if (!req.originalUrl.endsWith("/") && !path.extname(req.url)) {
if (!req.originalUrl.endsWith("/") && !path.extname(req.originalUrl)) {
let newUrl = url.format({
protocol: req.protocol,
host: req.get("host"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment