Skip to content

Commit

Permalink
For https
Browse files Browse the repository at this point in the history
  • Loading branch information
Vital-Vuillaume authored Oct 13, 2024
1 parent d4becc5 commit bd6bfca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion new_product/new_product.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function onFormSubmit() {
}

if(window.location.protocol != 'https:') {
location.href = "https://" + location.href.replace("http://", "");
window.location.protocol = 'https:';
}


Expand Down

1 comment on commit bd6bfca

@judemont
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merci

Please sign in to comment.