remove base href while building angular code example Example: base href angular ng build --prod --base-href /dashboard/