Merge remote-tracking branch 'origin/master'

This commit is contained in:
Yukino Song
2024-10-26 21:04:50 +08:00
32 changed files with 679 additions and 96 deletions

View File

@@ -19,7 +19,7 @@
<ul>
<li v-for="v in fancyLogs.filter(x => x.level === 'Fatal')">{{v.value}}</li>
</ul>
<a class="btn btn-danger" href="/troubleshooting/#logs">View Logs</a>
<a class="btn btn-danger" href="./troubleshooting/#logs">View Logs</a>
</div>
<!-- Version -->
<div class="card p-2 my-4">
@@ -101,7 +101,7 @@
},
async created() {
try {
let config = await fetch("/api/config").then((r) => r.json());
let config = await fetch("./api/config").then((r) => r.json());
this.notifyPreReleases = config.notify_pre_releases;
this.version = new ApolloVersion(null, config.version);
console.log("Version: ", this.version.version)
@@ -115,7 +115,7 @@
console.error(e);
}
try {
this.logs = (await fetch("/api/logs").then(r => r.text()))
this.logs = (await fetch("./api/logs").then(r => r.text()))
} catch (e) {
console.error(e);
}