As you're using `if (argv['spa'] && request.url.indexOf(".") == -1) {` (which is here because you want to 404 on real files not found). But ! If we use query string parameters with `.` inside, such as: ``` url.com/path/subpath?email=john.cena@gmail.com ``` then it matches the indexOf, while we still want the path to resolve as SPA. I might open a PR when I have some time.
Activity
fix(spa): parse URL before matching files for 404
gjuchault commentedon Apr 19, 2018
PR opened: #204
brettz9 commentedon May 21, 2021
Closed by #227.