conditionally serve dev and prod versions of index.html