Skip to content

Commit b17a629

Browse files
clydinfilipesilva
authored andcommitted
fix(@angular/cli): avoid defaulting base-href to an empty string
1 parent b551c0d commit b17a629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/@angular/cli/tasks/serve.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default Task.extend({
7474

7575
const serveDefaults = {
7676
deployUrl: appConfig.deployUrl || '',
77-
baseHref: appConfig.baseHref || '',
77+
baseHref: appConfig.baseHref,
7878
};
7979

8080
serveTaskOptions = Object.assign({}, serveDefaults, serveTaskOptions);

0 commit comments

Comments
 (0)