feat(update-frontend): enhance environment file handling and add Google AdSense script

- Updated the script to prioritize the root environment file for builds, falling back to the frontend environment file if necessary.
- Added a Google AdSense script to the frontend HTML for improved monetization capabilities.
This commit is contained in:
Torsten Schulz (local)
2026-04-27 16:36:38 +02:00
parent d53e2cc8a5
commit bc4338ea06
2 changed files with 12 additions and 3 deletions

View File

@@ -32,6 +32,10 @@
<link rel="alternate" hreflang="fr" href="%VITE_PUBLIC_BASE_URL%/?lang=fr" />
<link rel="alternate" hreflang="x-default" href="%VITE_PUBLIC_BASE_URL%/" />
<!-- Google AdSense (Auto ads) -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1104166651501135"
crossorigin="anonymous"></script>
</head>
<body>