Skip to content

Commit

Permalink
https is deprecated so --ssl is now passing a server type (#25969)
Browse files Browse the repository at this point in the history
* https is deprecated so --ssl is now passing a server type

* Update generators/angular/templates/webpack/webpack.custom.js.ejs

Co-authored-by: Marcelo Shima <[email protected]>

---------

Co-authored-by: Marcelo Shima <[email protected]>
  • Loading branch information
henri-tremblay and mshima authored Apr 26, 2024
1 parent 4320719 commit e1cb0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/angular/templates/webpack/webpack.custom.js.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module.exports = async (config, options, targetOptions) => {
}

// configuring proxy for back end service
const tls = Boolean(config.devServer && config.devServer.https);
const tls = config.devServer?.server?.type === 'https';
if (config.devServer) {
config.devServer.proxy = proxyConfig({ tls });
}
Expand Down

0 comments on commit e1cb0ee

Please sign in to comment.