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
Whether page links should be “clean”, i.e., formatted without a .html extension. Defaults to true. If true, a link to config.html will be formatted as config. Regardless of this setting, a link to an index page will drop the implied index.html; for example foo/index.html will be formatted as foo/.
While deploying the dashboard on an AWS S3 bucket with CloudFront, the fact that the home page is not linked to index.html is causing an 404 error. The behaviour of cleanUrls will need to be updated so that when cleanUrls is set to False, it needs to render the foo/ link as foo/index.html to allow the web server to still serve the page, even when index.html is not the default page to be served.
The text was updated successfully, but these errors were encountered:
When setting the
observablehq.config.jq
file with thecleanUrls
option to False, per https://observablehq.com/framework/config#cleanurls.The documentation states:
While deploying the dashboard on an AWS S3 bucket with CloudFront, the fact that the home page is not linked to
index.html
is causing an 404 error. The behaviour of cleanUrls will need to be updated so that when cleanUrls is set to False, it needs to render thefoo/
link asfoo/index.html
to allow the web server to still serve the page, even when index.html is not the default page to be served.The text was updated successfully, but these errors were encountered: