mirror of
https://github.com/fenwick67/mastofeed
synced 2025-02-09 08:38:51 +01:00
Update index.html
This commit is contained in:
parent
d87d3e16b7
commit
976f91eb10
@ -19,7 +19,7 @@ function genUrl(){
|
|||||||
return document.getElementById(id).value;
|
return document.getElementById(id).value;
|
||||||
}
|
}
|
||||||
|
|
||||||
var inUrl = 'http://' + val('urlin') + '/users/'+val('usernamein')+'.atom';
|
var inUrl = window.location.protocol + '//' + val('urlin') + '/users/'+val('usernamein')+'.atom';
|
||||||
|
|
||||||
|
|
||||||
var iframeUrl = 'http://'+ window.location.hostname +((window.location.port && window.location.port!=80)?(':'+window.location.port):'') +"/api/feed?url="+encodeURIComponent(inUrl);
|
var iframeUrl = 'http://'+ window.location.hostname +((window.location.port && window.location.port!=80)?(':'+window.location.port):'') +"/api/feed?url="+encodeURIComponent(inUrl);
|
||||||
@ -31,4 +31,4 @@ function genUrl(){
|
|||||||
iframe.height = val('height');
|
iframe.height = val('height');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body></html>
|
</body></html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user