File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,11 @@ Massive thank you to the following people:
2828// 0 best, 4 worst
2929const resolutionSetting = 2 ;
3030const headingCalibration = 40 ;
31+ const BASE_URL = "https://lookaround-alpha.herokuapp.com/"
32+ // docker run --publish 8080:8080 testcab/cors-anywhere
33+ //const CORS_PROXY = "http://localhost:8080/"
3134
35+ const CORS_PROXY = "https://nameless-bastion-28139.herokuapp.com/"
3236
3337const extensionFactor = 2 ; // TODO Play around with this value for best results with image stretching
3438
@@ -40,7 +44,6 @@ async function blobToBase64(blob) {
4044 } ) ;
4145 }
4246
43- const BASE_URL = "http://127.0.0.1:5001/"
4447
4548const MENU_HTML = `
4649<div class="start-standard-game_settings__x94PU">
@@ -272,8 +275,7 @@ async function loadTileForPano(panoFullId, x) {
272275 //var panoURL = "https://cors-anywhere.herokuapp.com/"+parsed.url;
273276
274277 // CORS Proxy running locally
275- // docker run --publish 8080:8080 testcab/cors-anywhere
276- var panoURL = "http://localhost:8080/" + parsed . url ;
278+ var panoURL = CORS_PROXY + parsed . url ;
277279 //var panoURL = parsed.url;
278280
279281 console . log ( "Requesting tile " + [ x , parsed . url , panoURL ] )
You can’t perform that action at this time.
0 commit comments