Skip to content

Commit

Permalink
replaced url to bogind.com to avoid CORS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bogind committed Jan 13, 2025
1 parent 1aa13de commit 1ac6d1d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

## <center>[The Live Map](https://bogind.github.io/Geospatial-Companies/)</center>
## <center>[The Live Map](https://bogind.com/Geospatial-Companies/)</center>

## So why make a copy?

Expand Down
8 changes: 4 additions & 4 deletions functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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";
Expand All @@ -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";
Expand All @@ -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');
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
<meta content="Geospatial Companies" property="twitter:title"></meta>
<meta content="@bogind2" name="twitter:site"></meta>
<meta content="@bogind2" name="twitter:creator"></meta>
<meta content="https://bogind.github.io/Geospatial-Companies/" property="og:url"></meta>
<meta content="https://bogind.com/Geospatial-Companies/" property="og:url"></meta>
<meta content="Geospatial Companies" property="og:title"></meta>
<meta content="https://bogind.github.io/Geospatial-Companies/preview.png" property="og:image"></meta>
<meta content="https://bogind.github.io/Geospatial-Companies/preview.png" property="twitter:image"></meta>
<meta content="https://bogind.com/Geospatial-Companies/preview.png" property="og:image"></meta>
<meta content="https://bogind.com/Geospatial-Companies/preview.png" property="twitter:image"></meta>
<meta content="summary_large_image" name="twitter:card"></meta>
<meta content="Dror Bogin" name="author"></meta>
<style>
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let map = new maplibregl.Map({
container: 'map', // container id
style: {
'version': 8,
"glyphs":"https://bogind.github.io/glfonts/{fontstack}/{range}.pbf",
"glyphs":"https://bogind.com/glfonts/{fontstack}/{range}.pbf",
'sources': {
'OSM': {
'type': 'raster',
Expand Down

0 comments on commit 1ac6d1d

Please sign in to comment.