Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaseYalon authored Oct 24, 2024
1 parent d783db3 commit e706eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ document.addEventListener('DOMContentLoaded', function() {
misc: misc.value
};
function sanitizeData(data) {
return data.replace(/[';()]/g, "");
return data.replace(/['";()]/g, "");
}
// Send data to the server
fetch('http://72.82.185.162:3001//submit', { // Updated to match server IP
Expand Down

0 comments on commit e706eb3

Please sign in to comment.