mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-09-29 08:11:14 +00: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 a new issue