You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/troubleshooting.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,9 +54,14 @@ By checking the CodeBuild logs and customizing the build configuration as requir
54
54
### Issue 3: Website display issue
55
55
56
56
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:
58
58
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
59
61
The file containing the code for your CloudFront Function can be found at this location. `cloudfront-hosting-toolkit/cloudfront-hosting-toolkit-cff.js`
60
62
63
+
Inspect the source code of the function in your local directory, make modifications as needed, and then execute the `deploy` command again.
0 commit comments