Title: How to change default --base-href · Issue #3010 · angular/angular-cli · GitHub
Open Graph Title: How to change default --base-href · Issue #3010 · angular/angular-cli
X Title: How to change default --base-href · Issue #3010 · angular/angular-cli
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...
Open Graph 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 use...
X 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 use...
Opengraph URL: https://github.com/angular/angular-cli/issues/3010
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to change default --base-href","articleBody":"**Is it possible to change default --base-href for ng serve and build processes?**\r\n\r\nI 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:\r\n\r\n- / (login page)\r\n- /auth\r\n- /api\r\n- /app (Angular 2 Application)\r\n\r\nThus I'd like simulate the same behavior while developing the app.\r\n\r\n1. is it possible that ng serve hosts the app in the subfolder /app/ (and proxies / to the backend)?\r\n2. is it possible to set a default --base-href for the build process and ng serve?\r\n\r\n#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.","author":{"url":"https://github.com/manuelfink","@type":"Person","name":"manuelfink"},"datePublished":"2016-11-03T23:16:46Z","url":"https://github.com/angular/angular-cli/issues/3010"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c7dd0a33-ada5-98b6-841c-13fa697a7238 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C064:1FE434:1F926B0:2981C2A:6B02368A |
| html-safe-nonce | 8cf16b0f7ccbbafbb1c6aa0e26ba722aa2337698240a8a2d7f79dd92ba0d0c5c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDY0OjFGRTQzNDoxRjkyNkIwOjI5ODFDMkE6NkIwMjM2OEEiLCJ2aXNpdG9yX2lkIjoiNjk1OTg3MjcxNjg3MDY2MTc3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 13b7ad4968e6f0b0a571e13611690a8b8886afd9578957c73f1f78e83d84f12a |
| hovercard-subject-tag | issue:187215449 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/3010/issue_layout |
| twitter:image | https://opengraph.githubassets.com/30506424c8b1278fdd0625b7f0fe168635cf46f02a210ca565552a5c8d6138a6/angular/angular-cli/issues/3010 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30506424c8b1278fdd0625b7f0fe168635cf46f02a210ca565552a5c8d6138a6/angular/angular-cli/issues/3010 |
| og:image:alt | 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 use... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | manuelfink |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width