FAQ: Learn Express Routes - Getting A Single Expression

Thing is, this weren’t explained. It just popped up in the code with no explanation

I have a good one. Why on earth is :


being used twice in one file ??? Lesson 4 & 6 so far i’ve seen. I have never seen this before, and surely if it was a bug somebody would have spotted it before now


// Use static server to serve the Express Yourself Website

I think it’s re-loading the webpage each time ‘app.use’ is called.