From 1ac6d1dec16d9646dc02bbb5922f0dac6d01a8f9 Mon Sep 17 00:00:00 2001 From: Dror Bogin Date: Mon, 13 Jan 2025 12:21:48 +0200 Subject: [PATCH] replaced url to bogind.com to avoid CORS errors --- README.md | 2 +- functions.js | 8 ++++---- index.html | 6 +++--- index.js | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 7899e72..d8c238e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ A map showing Geospatial companies, data origanilly collected by [chrieke](https://github.com/chrieke) and a list by countries is available at [https://github.com/chrieke/awesome-geospatial-companies](https://github.com/chrieke/awesome-geospatial-companies). -##
[The Live Map](https://bogind.github.io/Geospatial-Companies/)
+##
[The Live Map](https://bogind.com/Geospatial-Companies/)
## So why make a copy? diff --git a/functions.js b/functions.js index 4a3edd5..74306f5 100644 --- a/functions.js +++ b/functions.js @@ -605,7 +605,7 @@ function buildShareSpan(){ let container = document.createElement('span'); let twitterButton = document.createElement('a'); - twitterButton.href = 'https://twitter.com/intent/tweet?text=Geospatial%20Companies%20Map%0D%0Ahttps://bogind.github.io/Geospatial-Companies/'; + twitterButton.href = 'https://twitter.com/intent/tweet?text=Geospatial%20Companies%20Map%0D%0Ahttps://bogind.com/Geospatial-Companies/'; twitterButton.target="_blank" ; twitterButton.rel="noopener noreferrer"; twitterButton.title = "Share to Twitter"; @@ -614,7 +614,7 @@ function buildShareSpan(){ twitterButton.append(twitterImage) let facebookButton = document.createElement('a'); - facebookButton.href = 'https://www.facebook.com/sharer/sharer.php?u=https://bogind.github.io/Geospatial-Companies/&t=Geospatial%20Companies%20Map'; + facebookButton.href = 'https://www.facebook.com/sharer/sharer.php?u=https://bogind.com/Geospatial-Companies/&t=Geospatial%20Companies%20Map'; facebookButton.target="_blank" ; facebookButton.rel="noopener noreferrer"; facebookButton.title = "Share to Facebook"; @@ -623,7 +623,7 @@ function buildShareSpan(){ facebookButton.append(facebookImage) let whatsappButton = document.createElement('a'); - whatsappButton.href = 'https://wa.me?text=Geospatial%20Companies%20Map%0D%0Ahttps://bogind.github.io/Geospatial-Companies/"'; + whatsappButton.href = 'https://wa.me?text=Geospatial%20Companies%20Map%0D%0Ahttps://bogind.com/Geospatial-Companies/"'; whatsappButton.target="_blank" ; whatsappButton.rel="noopener noreferrer"; whatsappButton.title = "Share to Whatsapp"; @@ -634,7 +634,7 @@ function buildShareSpan(){ let copyURLButton = document.createElement('i'); //copyURLButton.type = 'button' copyURLButton.onclick = function(){ - navigator.clipboard.writeText("https://bogind.github.io/Geospatial-Companies/") + navigator.clipboard.writeText("https://bogind.com/Geospatial-Companies/") } copyURLButton.title = "Copy to clipboard"; let copyURLImage = document.createElement('img'); diff --git a/index.html b/index.html index f5a8cd8..e876111 100644 --- a/index.html +++ b/index.html @@ -19,10 +19,10 @@ - + - - + +