update webhost

This commit is contained in:
Fabian Dill
2020-06-13 22:49:57 +02:00
parent 53744be44c
commit ddc7be0794
5 changed files with 27 additions and 21 deletions

View File

@@ -13,7 +13,7 @@ Hosting {{ filename }} at {{ name }}:{{ port }}
xmlhttp.onreadystatechange = function () {
if (this.readyState == 4 && this.status == 200) {
myFunction(this.responseText);
document.getElementById("logger").innerText = this.responseText;
}
};
@@ -23,10 +23,6 @@ Hosting {{ filename }} at {{ name }}:{{ port }}
}
function myFunction(text) {
document.getElementById("logger").innerText = text;
}
request_new();
window.setInterval(request_new, 3000);
</script>

View File

@@ -0,0 +1,7 @@
<!doctype html>
<title>Upload Multidata</title>
<h1>Upload Multidata</h1>
<form method=post enctype=multipart/form-data>
<input type=file name=file>
<input type=submit value=Upload>
</form>