X Tutup
Skip to content

fix(router): empty hash url should not display hash character #3784

@btford

Description

@btford

Currently, if you use the HashLocationStrategy, we serialize a "root" URL (single slash, empty string, /, etc.) as foo.com/#. Instead, it should be foo.com.

In general, we should always prefer the fewest number of characters when serializing a URL.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup