Rewrite index ejs