Commit f82e7e9
committed
docs(build): switch from html to dirhtml builder for clean URLs
why: The html builder generates flat .html files, but the CloudFront
function now redirects .html -> /. Without dirhtml output (which creates
directory-style index.html files), the redirects lead to 403s because
the target paths don't exist in S3.
what:
- Change html, start, and design targets to use -b dirhtml
- Produces quickstart/index.html instead of quickstart.html
- CloudFront serves /quickstart/ -> quickstart/index.html correctly1 parent 5c6f3de commit f82e7e9
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
0 commit comments