Only matching GET and POST routes if a static file doesn't match?
I have this route:
And this Static definition:
app.use('/test', express.static(__dirname + '/test'));
Now, the problem arises when I try to access
/test/a/b.js. Since it matches both paths,
routes.get is triggered. How do I prevent this, and only route if a static resource file wouldn't be served otherwise?
app.use(express.static(__dirname + '/test')) before
Middleware runs in the order defined in