forked from extern/easydiffusion
Revert "Fetch release notes only from the main or beta branches"
This reverts commit bc142c9ecd
.
This commit is contained in:
parent
bc142c9ecd
commit
cde57109e4
@ -51,9 +51,9 @@
|
||||
}
|
||||
appConfig = await appConfig.json()
|
||||
|
||||
const notesBranch = (appConfig.update_branch !== "beta" ? "main" : "beta")
|
||||
const updateBranch = appConfig.update_branch || 'main'
|
||||
|
||||
let releaseNotes = await fetch(`https://raw.githubusercontent.com/cmdr2/stable-diffusion-ui/${notesBranch}/CHANGES.md`)
|
||||
let releaseNotes = await fetch(`https://raw.githubusercontent.com/cmdr2/stable-diffusion-ui/${updateBranch}/CHANGES.md`)
|
||||
if (!releaseNotes.ok) {
|
||||
console.error('[release-notes] Failed to get CHANGES.md.')
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user