Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4838

How to route to the static html page?

$
0
0

So I have regular ember app, but I have to add static page into public folder, so I can redirect there a response from Microsoft auth and then close it(because I have # in my regular url localhost:4200/app/#/redirect) - localhost:4200/app/page.html. I have locationType: ‘auto’ in my env. every time I redirect to this page I have an error “UnrecognizedURLError”. But if I open devtools and reload the page it works as expected. How can I add this static html page to the router or is it any other way to manage it? if I have locationType: ‘hash’ then there is default route in the url and url look like this localhost:4200/app/page.html/#/default, totally ignoring the static page

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4838

Trending Articles