-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussion
Description
Is it possible to change default --base-href for ng serve and build processes?
I do have a node backend which will later host my angular 2 applications. The app is only accessible for logged in user. My node server supplies the following routes:
- / (login page)
- /auth
- /api
- /app (Angular 2 Application)
Thus I'd like simulate the same behavior while developing the app.
- is it possible that ng serve hosts the app in the subfolder /app/ (and proxies / to the backend)?
- is it possible to set a default --base-href for the build process and ng serve?
#1080 is pretty similar, however it only works for builds. Thus I'd like to catch up with @JavierFuentes idea. @filipesilva for me it totally makes sense in this context to also develop the app not hosted within the root but within /app/ instead.
Metadata
Metadata
Assignees
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussion