mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +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 => {
|
||||||
@ -31,4 +31,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user