Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
schaerta committed Sep 23, 2024
2 parents 30602cb + 93eb542 commit 6531268
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion layout/Header/MainMenu/Mobile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const MainMenuMobile = ({
{IS_HAMBURG_PROJECT ? (
<>
<li className={cN({ 'my-10': IS_HAMBURG_PROJECT })}>
<LinkButton href="/briefeintragung">
<LinkButton href="/unterschreiben-hamburg">
Jetzt unterschreiben!
</LinkButton>
</li>
Expand Down
2 changes: 2 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ NEXT_PUBLIC_USE_DEV_BACKEND = "override"
[headers.values]
X-Frame-Options = "ALLOWALL"

[build]
functions = "netlify/functions"
11 changes: 11 additions & 0 deletions netlify/functions/logUrlParams.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// netlify/functions/logUrlParams.js

exports.handler = async (event) => {
const queryParams = event.queryStringParameters; // Capture URL params
console.log("Query String Parameters:", queryParams); // Log them to Netlify's function logs

return {
statusCode: 200,
body: JSON.stringify({ message: "Logged URL parameters!" }),
};
};

0 comments on commit 6531268

Please sign in to comment.