質問するログイン新規登録

質問編集履歴

2

フォワード?

2020/10/07 02:35

投稿

pokemonta
pokemonta

スコア170

title CHANGED
File without changes
body CHANGED
@@ -10,7 +10,8 @@
10
10
  また、デプロイをするにあたりビルドは必要なのでしょうか?
11
11
  "yarn start"にはビルドなしでwebページが表示できました。
12
12
 
13
+ 追記:デプロイ後、静的ホストティングに表示されるURL(http://***/)に
13
- 追記:デプロイしたら以下のようなエラーが発生しました。
14
+ アクセスするとエラーが発生しました。
14
15
 
15
16
  ```ここに言語を入力
16
17
  404 Not Found
@@ -23,4 +24,9 @@
23
24
  Code: NoSuchKey
24
25
  Message: The specified key does not exist.
25
26
  Key: index.html
26
- ```
27
+ ```
28
+
29
+ さらに調査を進めた結果
30
+ http://***/index.htmlにするとアクセスに成功します。
31
+
32
+ 単なるS3の設定ミスでしょうか

1

追加作業実施の結果、エラー

2020/10/07 02:35

投稿

pokemonta
pokemonta

スコア170

title CHANGED
File without changes
body CHANGED
@@ -8,4 +8,19 @@
8
8
  http://localhost:3000/へのアクセスはできます。
9
9
 
10
10
  また、デプロイをするにあたりビルドは必要なのでしょうか?
11
- "yarn start"にはビルドなしでwebページが表示できました。
11
+ "yarn start"にはビルドなしでwebページが表示できました。
12
+
13
+ 追記:デプロイしたら以下のようなエラーが発生しました。
14
+
15
+ ```ここに言語を入力
16
+ 404 Not Found
17
+ Code: NoSuchKey
18
+ Message: The specified key does not exist.
19
+ Key: index.html
20
+ RequestId: ****
21
+ HostId: ****
22
+ An Error Occurred While Attempting to Retrieve a Custom Error Document
23
+ Code: NoSuchKey
24
+ Message: The specified key does not exist.
25
+ Key: index.html
26
+ ```