页面刷新时出现Amazon AWS S3 404错误

问题描述 投票:1回答:1

当我尝试刷新我在Amazon AWS S3中部署的基于react的应用程序时,获得下面提到的错误。

最近有人遇到过同样的问题吗?

404 Not Found Code: NoSuchKey Message: The specified key does not exist. Key: <KEY> RequestId: C8BE5E360A29AA14 HostId: <HOSTID>

amazon-web-services amazon-s3 amazon-cloudfront
1个回答
7
投票

enter image description here

修正了:) :)我在错误文档部分添加了index.html。

© www.soinside.com 2019 - 2024. All rights reserved.