lukeed / sirv

An optimized middleware & CLI application for serving static files~!
MIT License
1.06k stars 56 forks source link

Is it possible to disable the fallback to index.html #160

Open tnwanna opened 3 months ago

tnwanna commented 3 months ago

I'm trying to use this while having separate server routes that specifically serve the index.html file, but I can't seem to find any options to make this ignore that as a fallback. It seems to do so even when not in SPA mode and at the moment I just had to rename my index.html file to something else (which works, but ideally if I could avoid that step it would help)