Skip to content

Commit

Permalink
Update [id].tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
joyponader authored Sep 22, 2024
1 parent 1c223e7 commit 01fbb55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const GetURLParamsComponent: React.FC = () => {
const queryString = getQueryParamsString(router);

// Log the URL parameters by calling the Netlify function
fetch(`/api/logUrlParams${window.location.search}`) // Add this fetch call
fetch(`https://hamburg-testet-grundeinkommen.de/.netlify/functions/logUrlParams${window.location.search}`) // Add this fetch call
.then(response => response.json())
.then(data => {
console.log(data.message); // Show the response message in the console
Expand Down

0 comments on commit 01fbb55

Please sign in to comment.