Skip to content

Commit 5aefe02

Browse files
Update .changeset/giant-areas-press.md
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
1 parent e272d02 commit 5aefe02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.changeset/giant-areas-press.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
'astro': major
33
---
44

5-
Updates endpoints with a file extension to not be accessed with a trailing slash
5+
Updates trailing slash behavior of endpoint URLs.
66

77
In Astro v5.0, custom endpoints whose URL ended in a file extension (e.g. `/src/pages/sitemap.xml.ts` ) could be accessed with a trailing slash (`/sitemap.xml/`) or without (`/sitemap.xml`), regardless of the value configured for `build.trailingSlash`.
88

0 commit comments

Comments
 (0)