use whatever port the app is running on for ajax requests
This commit is contained in:
@@ -140,7 +140,7 @@ export class VisualizationPageComponent implements OnInit {
|
||||
|
||||
this.plotService.sendPlotRequest(request).subscribe(function(plotResponse){
|
||||
console.log("response: " + JSON.stringify(plotResponse));
|
||||
that.plotView.imageUrl = "http://"+window.location.hostname+':17333/'+plotResponse.imageUrl;
|
||||
that.plotView.imageUrl = "http://"+window.location.hostname+':'+window.location.port+'/'+plotResponse.imageUrl;
|
||||
document.dispatchEvent(new Event("invadersPause", {}));
|
||||
},
|
||||
error => {
|
||||
|
||||
Reference in New Issue
Block a user