nevermind. revert "fix file serving logic, only index should be served"

This reverts commit 7d30fdc711ea92efdd7976aa2ba24dde2b65292b.
fix static serving