x test
This commit is contained in:
parent
7cb8bc76e7
commit
7ffc5724f3
1 changed files with 6 additions and 3 deletions
|
|
@ -203,7 +203,6 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
console.log('Final Cloudinary URL being used for meta tags:', finalUrl);
|
|
||||||
// Function to detect mobile devices
|
// Function to detect mobile devices
|
||||||
function isMobileDevice() {
|
function isMobileDevice() {
|
||||||
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
||||||
|
|
@ -1919,8 +1918,12 @@ function getShareableImageUrl(proposal) {
|
||||||
// Add a cache-busting parameter to prevent caching issues
|
// Add a cache-busting parameter to prevent caching issues
|
||||||
const cacheBuster = Date.now();
|
const cacheBuster = Date.now();
|
||||||
|
|
||||||
// Combine everything
|
// Store the URL in a variable named finalUrl
|
||||||
return `${cloudinaryUrl}/${textParams}/${templateUrl}?cb=${cacheBuster}`;
|
const finalUrl = `${cloudinaryUrl}/${textParams}/${templateUrl}?cb=${cacheBuster}`;
|
||||||
|
|
||||||
|
console.log('Generated final Cloudinary URL:', finalUrl);
|
||||||
|
|
||||||
|
return finalUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Function to toggle comments visibility
|
// Function to toggle comments visibility
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue