diff --git a/routes/index.js b/routes/index.js index 2ec0b82..00c215a 100644 --- a/routes/index.js +++ b/routes/index.js @@ -1,3 +1,11 @@ +/* +* Haoyang Ding => Nabil: +* +* I don't recommend you use the sendFile() to do the redirect. That's slow and sometimes cause address error. +* Try res.redirect() next time. +* +* */ + var express = require("express"); var router = express.Router(); const path = require("path");