We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
kit
1 parent c86afc0 commit e9c5511Copy full SHA for e9c5511
apps/svelte.dev/content/docs/kit/98-reference/[email protected]
@@ -193,6 +193,12 @@ function json(
193
194
## normalizeUrl
195
196
+<blockquote class="since note">
197
+
198
+Available since 2.18.0
199
200
+</blockquote>
201
202
Strips possible SvelteKit-internal suffixes and trailing slashes from the URL pathname.
203
Returns the normalized URL as well as a method for adding the potential suffix back
204
based on a new pathname (possibly including search) or URL.
0 commit comments