Open Media Library.app

This commit is contained in:
j 2014-08-04 21:41:30 +02:00
commit c72189069e
9 changed files with 270 additions and 0 deletions

View file

@ -0,0 +1,24 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Open Media Library</title>
</head>
<body>
<script>
function load() {
var base = 'http://127.0.0.1:9842';
var xhr = new XMLHttpRequest();
xhr.onload = function() {
document.location.href = base;
};
xhr.onerror = function() {
setTimeout(load, 1000);
}
xhr.open('get', base + '/status');
xhr.send();
}
load();
</script>
</body>
</html>