Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

119
Views
Angular router include extra segment to the path when useHash is enabled

I have an angular application deployed under an URL looks like this:

https://example.com/my-angular-application

This is a requirement in my project to use hash routing so I set useHash: true

In case if I start the application and my default route is /abcd I would expect the URL to look like this:

https://example.com/my-angular-application/#/abcd

But instead of this I got:

https://example.com/my-angular-application/#/my-angular-application/abcd

What can cause this behaviour?

I've tried to use redirect to resolve this but it did not help.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!