This commit is contained in:
Luiz Silva 2025-01-26 09:07:26 -03:00
parent bcab231e47
commit 773013d97f
4 changed files with 6 additions and 3 deletions

View file

@ -68,6 +68,8 @@ export class TipagemRotas<T extends { [q: string]: string | undefined }> {
url.searchParams.set(String(key), value)
}
url.hash = ""
if (usarComoHash) {
url.hash = `#${url.search}`
url.search = ""