Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/esp-link/blame/branch/master/html/web-server.html You should set ROOT_URL correctly, otherwise the web may not work correctly.
esp-link/html/web-server.html

30 lines
804 B

<div id="main">
<div class="header">
<h1>Web Server</h1>
</div>
<div class="content">
<p>User defined web pages can be uploaded to esp-link. This is useful if esp-link acts as a web server while MCU provides
the measurement data.</p>
<form method="post" action="web-server/upload" name="submit" enctype="multipart/form-data" onSubmit="return onSubmit()">
The custom web page to upload: <input type="file" name="webpage" multiple>
<input type="submit" name="submit" value="Submit">
</form>
</div>
</div>
<script>
var allowSubmit = true;
function onSubmit() {
setTimeout(function() {
window.location.reload();
}, 1000);
return true;
}
</script>
</body></html>