Confusion about rootURL

I understand rootURL is used for starting point for ember app(?). so If i have following using Ember 1.7.0:

 Aap=Em.Application.create();
Aap.Router.map(function(){
this.route('about');
this.route('contact');
});
Aap.Router.reopen({
rootURL:"/app1/"
})

Question is : The link to about, contact should be shown in address bar as /app1/about or /about (assume its location:history)? I’m getting /about ie abc.com/about where as i wish it to be like abc.com/app1/about.

also can I use rootURL with query params ie " abc.com/app.php?v=1"

Thanks.

Edit: there’s similar question asked on SO but so far no answer, link javascript - Ember.js Won't Accept Root URL - Stack Overflow

Looks like you have mis-matched quotes. Try

'/app1/'

instead of

"/app1/'
1 Like

Thanks, that was a typo here.