changed index route to a regex that accepts app root or index.html