mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-09 04:56:53 +03:00
set current date
This commit is contained in:
@@ -19,7 +19,8 @@ function run() {
|
|||||||
<button onclick="document.getElementById('editor').hidden = false; this.hidden = true;" >Editor</button>
|
<button onclick="document.getElementById('editor').hidden = false; this.hidden = true;" >Editor</button>
|
||||||
<div id='editor' hidden='true'>
|
<div id='editor' hidden='true'>
|
||||||
<textarea id="cnsl">
|
<textarea id="cnsl">
|
||||||
fetch('/fileserver/log/message/log_2022-10-15.txt')
|
var date = getFullYear() + "-" + (getMonth()+1) + "-" + getDate();
|
||||||
|
fetch('/fileserver/log/message/log_'+date+'.txt')
|
||||||
.then(response => {
|
.then(response => {
|
||||||
// handle the response
|
// handle the response
|
||||||
response.text()
|
response.text()
|
||||||
|
|||||||
Reference in New Issue
Block a user