mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-02 17:08:38 +08:00
Update index.html
This commit is contained in:
parent
7d07d8e0cd
commit
d4b50ad332
@ -7,7 +7,7 @@
|
|||||||
<script src="../*/po.js"></script>
|
<script src="../*/po.js"></script>
|
||||||
<script>
|
<script>
|
||||||
function getInfo(){
|
function getInfo(){
|
||||||
cockpit.file("/data/credentials/password.txt").read().then((content, tag) => {
|
cockpit.file("/credentials/password.txt").read().then((content, tag) => {
|
||||||
document.getElementById("sysinfo").innerText = content
|
document.getElementById("sysinfo").innerText = content
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
|
Loading…
Reference in New Issue
Block a user