Skip to content

Commit

Permalink
fix(demo): fix wrong assets url on deployed demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
tinesoft committed Jun 15, 2018
1 parent e1bf9bf commit fedcbd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ gulp.task('serve:demo-hmr', () => {
});

gulp.task('build:demo', () => {
return execDemoCmd(`build --preserve-symlinks --prod --aot --build-optimizer`, { cwd: `${config.demoDir}`});
return execDemoCmd(`build --preserve-symlinks --prod --aot --build-optimizer --base-href /ngx-cookieconsent/ --deploy-url /ngx-cookieconsent/`, { cwd: `${config.demoDir}`});
});

gulp.task('serve:demo-ssr',['build:demo'], () => {
Expand Down

0 comments on commit fedcbd9

Please sign in to comment.