upload index.json and 404.json