fix content type of index.html file upload