#URL not referencing directories
2 messages · Page 1 of 1 (latest)
You can try using the trailingSlash option in the config https://docs.astro.build/en/reference/configuration-reference/#trailingslash
2 messages · Page 1 of 1 (latest)
When I use the paginate option in getStaticPaths, the URL that gets generated for blog.md is /blog is it possible to turn this into /blog/ as when the site is hosted it should be referencing the directory anyways. I just want to reduce the number of 302s that gets added to the site if possible.
You can try using the trailingSlash option in the config https://docs.astro.build/en/reference/configuration-reference/#trailingslash