Update index.html

ctx.type is delegated to this.response.