Skip to content

Commit ddaa644

Browse files
committed
ignore version notify
1 parent a2811c4 commit ddaa644

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

src_assets/common/assets/web/index.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,18 @@ <h3>{{githubVersion.release.name}}</h3>
9797
}
9898
},
9999
async created() {
100-
try {
101-
let config = await fetch("./api/config").then((r) => r.json());
102-
this.notifyPreReleases = config.notify_pre_releases;
103-
this.version = new SunshineVersion(null, config.version);
104-
console.log("Version: ", this.version.version)
105-
this.githubVersion = new SunshineVersion(await fetch("https://api.github.com/repos/LizardByte/Sunshine/releases/latest").then((r) => r.json()), null);
106-
console.log("GitHub Version: ", this.githubVersion.version)
107-
this.preReleaseVersion = new SunshineVersion((await fetch("https://api.github.com/repos/LizardByte/Sunshine/releases").then((r) => r.json())).find(release => release.prerelease), null);
108-
console.log("Pre-Release Version: ", this.preReleaseVersion.version)
109-
} catch (e) {
110-
console.error(e);
111-
}
100+
// try {
101+
// let config = await fetch("./api/config").then((r) => r.json());
102+
// this.notifyPreReleases = config.notify_pre_releases;
103+
// this.version = new SunshineVersion(null, config.version);
104+
// console.log("Version: ", this.version.version)
105+
// this.githubVersion = new SunshineVersion(await fetch("https://api.github.com/repos/LizardByte/Sunshine/releases/latest").then((r) => r.json()), null);
106+
// console.log("GitHub Version: ", this.githubVersion.version)
107+
// this.preReleaseVersion = new SunshineVersion((await fetch("https://api.github.com/repos/LizardByte/Sunshine/releases").then((r) => r.json())).find(release => release.prerelease), null);
108+
// console.log("Pre-Release Version: ", this.preReleaseVersion.version)
109+
// } catch (e) {
110+
// console.error(e);
111+
// }
112112
try {
113113
this.logs = (await fetch("./api/logs").then(r => r.text()))
114114
} catch (e) {

0 commit comments

Comments
 (0)