Skip to content

Commit

Permalink
Use external URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kahn committed Jul 31, 2021
1 parent 3203f1e commit 2e7f7ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
map.on('load', function () {
// Add an image to use as a custom marker
map.loadImage(
'http://localhost:8080/static/aircraft.png',
'http://vatpac.cycloptivity.net/static/aircraft.png',
function (error, image) {
if (error) throw error;
map.addImage('custom-marker', image);
Expand All @@ -72,7 +72,7 @@
var refresh = setInterval(setPilotsLayer, 15000);
var drawn = false;
async function setPilotsLayer () {
var response = await fetch('http://localhost:8080/v1/pilots');
var response = await fetch('http://vatpac.cycloptivity.net/v1/pilots');
var json = await response.json();
if(drawn == false){
try{
Expand Down

0 comments on commit 2e7f7ea

Please sign in to comment.