mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-09 21:17:06 +03:00
* Add hash to all html, css, and js URLs * Update build.yaml * Update build.yaml * . * . Co-authored-by: CaCO3 <caco@ruinelli.ch>
34 lines
815 B
HTML
34 lines
815 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="icon" href="favicon.ico?v=$COMMIT_HASH" type="image/x-icon">
|
|
<meta charset="utf-8">
|
|
</head>
|
|
|
|
<body style="font-family: arial">
|
|
testschrift
|
|
<div id="value"></div>
|
|
</html>
|
|
|
|
<script type="text/javascript" src="common.js?v=$COMMIT_HASH"></script>
|
|
|
|
<script type="text/javascript">
|
|
var domainname = getDomainname();
|
|
function testinit(){
|
|
domainname = getDomainname();
|
|
url = domainname + '/value?all=true';
|
|
var xhttp = new XMLHttpRequest();
|
|
xhttp.onreadystatechange = function() {
|
|
if (this.readyState == 4 && this.status == 200) {
|
|
// Typical action to be performed when the document is ready:
|
|
document.getElementById("value").innerHTML = xhttp.responseText;
|
|
}
|
|
};
|
|
xhttp.open("GET", url, true);
|
|
xhttp.send();
|
|
}
|
|
|
|
testinit();
|
|
</script>
|
|
</body>
|