parent
4bc6a0b635
commit
c7372bc29a
|
@ -5,7 +5,7 @@ function imgLoad(image) {
|
||||||
return new Promise(function (resolve, reject) {
|
return new Promise(function (resolve, reject) {
|
||||||
// Standard XHR to load an image
|
// Standard XHR to load an image
|
||||||
var request = new XMLHttpRequest();
|
var request = new XMLHttpRequest();
|
||||||
var url = 'http://127.0.0.1:4444/data/sshd/'+image+'.svg'
|
var url = 'http://127.0.0.1:1323/data/sshd/'+image+'.svg'
|
||||||
request.open('GET', url);
|
request.open('GET', url);
|
||||||
request.responseType = 'blob';
|
request.responseType = 'blob';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue