Skip to content

Commit

Permalink
Clean code (#28350)
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert authored Dec 31, 2024
1 parent ce117f0 commit 9911dfb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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 @@ -72,7 +72,7 @@ module.exports = async (config, options, targetOptions) => {
target: `http${tls ? 's' : ''}://localhost:${targetOptions.target === 'serve' ? '<%= devServerPort %>' : '<%= applicationTypeMicroservice ? gatewayServerPort : serverPort %>'}`,
ws: true,
proxyOptions: {
changeOrigin: false, //pass the Host header to the backend unchanged https://github.com/Browsersync/browser-sync/issues/430
changeOrigin: false, //pass the Host header to the backend unchanged https://github.com/Browsersync/browser-sync/issues/430
},
proxyReq: [
function (proxyReq) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#### IMPORTANT
# If you choose Consul or Eureka mode:
# Do not forget to remove the prefix "127.0.0.1" in front of their port in order to expose them.
# This is required because JHCC need to communicate with Consul or Eureka.
# This is required because JHCC needs to communicate with Consul or Eureka.
# - In Consul mode, the ports are in the consul.yml file.
# - In Eureka mode, the ports are in the jhipster-registry.yml file.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"messages": {
"info": "Choisir un nouveau mot de passe",
"success": "<strong>Votre mot de passe a été réinitialisé.</strong> Merci de ",
"keymissing": "La clef de réinitilisation est manquante",
"keymissing": "La clef de réinitialisation est manquante",
"error": "Votre mot de passe n'a pas pu être réinitialisé. La demande de réinitialisation n'est valable que 24 heures."
}
}
Expand Down
2 changes: 1 addition & 1 deletion generators/react/templates/webpack/webpack.dev.js.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ module.exports = async (options) => webpackMerge(await commonConfig({ env: ENV }
target: `http${options.tls ? 's' : ''}://localhost:${options.watch ? '<%= applicationTypeMicroservice ? gatewayServerPort : serverPort %>' : '<%= devServerPort %>'}`,
ws: true,
proxyOptions: {
changeOrigin: false //pass the Host header to the backend unchanged https://github.com/Browsersync/browser-sync/issues/430
changeOrigin: false //pass the Host header to the backend unchanged https://github.com/Browsersync/browser-sync/issues/430
}
},
socket: {
Expand Down

0 comments on commit 9911dfb

Please sign in to comment.