Update app.js

pull/60/head v0.2.7
ShahanaFarooqui 5 years ago committed by GitHub
parent 2f262cf647
commit 837ea0c8d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -62,8 +62,6 @@ app.use(apiRoot + "switch", switchRoutes);
// sending angular application when route doesn't match
app.use((req, res, next) => {
console.log(apiRoot);
console.log(req.url);
res.sendFile(path.join(__dirname, "angular", "index.html"));
});

Loading…
Cancel
Save