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

Use ember app as sub url or sub domain

$
0
0

@stephencheng wrote:

I am a new to ember js and I'd like to come up with a very simple app to:

A) serve at a sub url leve or www.mydomain.com/mysuperemberapp/post/new
mysuperemberapp -> root url of the ember app

other urls are served from backend, eg: rails/django/nodejs server etc
 www.mydomain.com/section2/*

B) subdomain mysuperemberapp.mydomain.com/post/new

I would assume the case B could be as simple as configure a nginx to do the job, but what about A) ? will it work if the ember app is mapped as sub dir/url?

saw a topic about it using root_url: https://guides.emberjs.com/v1.10.0/routing/ , but the link disappeared in higher version of the docs.

Can you advice?

Thanks

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4830

Trending Articles