Skip to content

Commit 89ef9f2

Browse files
committed
update readme
1 parent 8b9acef commit 89ef9f2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/troubleshooting.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,14 @@ By checking the CodeBuild logs and customizing the build configuration as requir
5454
### Issue 3: Website display issue
5555

5656
Please ensure to review the CloudFront function being utilized along with its associated rewrite rules, as they might not align correctly with the framework currently in use.
57-
You have the option to inspect the source code of the function in your local directory, make modifications as needed, and then redeploy it.
57+
There are two options available:
5858

59+
1. You can rerun the `init` command and select a different framework if the initially chosen one wasn't suitable.
60+
2. You have the option to modify the code of the CloudFront function and then execute the deployment command again
5961
The file containing the code for your CloudFront Function can be found at this location. `cloudfront-hosting-toolkit/cloudfront-hosting-toolkit-cff.js`
6062

63+
Inspect the source code of the function in your local directory, make modifications as needed, and then execute the `deploy` command again.
64+
65+
6166

6267

0 commit comments

Comments
 (0)