Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Hashbang routing - Enter site at root path ("/") #5650

Closed
@TheSharpieOne

Description

@TheSharpieOne

Angular version: 1.2.7
Browsers affected: All (?)

When html5Mode is false and the url is at the root (mysite.com or mysite.com/) the hash does not get added, the path and url in $location are "" when they should be "/". manually adding the hash (entering mysite.com/#/ specifically) will correct this problem, but you should not require people to enter the hash to enter the site.

angular-hash-problem

What should happen is the url mysite.com or mysite.com/ should change to mysite.com/#/ as it does for deeper links.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions