Update index.html

This commit is contained in:
qiaofeng1227 2022-11-02 09:00:48 +08:00 committed by GitHub
parent 7d07d8e0cd
commit d4b50ad332
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@
<script src="../*/po.js"></script>
<script>
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
})
.catch(error => {
@ -31,4 +31,4 @@
</div>
</div>
</body>
</html>
</html>