Closed Helveg closed 4 years ago
Without the baseHref specified in the options of angular.json ng serve will inject <script src="runtime.js"> etc, instead of <script src="/runtime.js"> and entering the app by navigating to http://localhost:4200/some/path/with/slashes will break.
baseHref
options
angular.json
ng serve
<script src="runtime.js">
<script src="/runtime.js">
http://localhost:4200/some/path/with/slashes
Hi, @Helveg. Thank you for using our product. Can you move this issue to the right repository(https://github.com/creativetimofficial/blk-design-system-angular/issues)?
Without the
baseHref
specified in theoptions
ofangular.json
ng serve
will inject<script src="runtime.js">
etc, instead of<script src="/runtime.js">
and entering the app by navigating tohttp://localhost:4200/some/path/with/slashes
will break.