Do you mean at build time? You can with: ng build — baseHref=my-base-href

Google Developer Expert in Angular, Consultant and Trainer at http://www.angulartraining.com

Love podcasts or audiobooks? Learn on the go with our new app.