Skip to content

Commit

Permalink
Update URL
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei committed Dec 5, 2024
1 parent 3e25a19 commit 81d4fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/updateFrontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function main() {
execSync(`git checkout -b ${branchName} -t origin/main`, { stdio: 'inherit' })

// Get latest frontend release: https://github.com/Comfy-Org/ComfyUI_frontend/releases
const latestRelease = 'https://github.com/Comfy-Org/ComfyUI_frontend/releases/latest'
const latestRelease = 'https://api.github.com/repos/Comfy-Org/ComfyUI_frontend/releases/latest'
const latestReleaseData = await fetch(latestRelease)
const latestReleaseTag = (await latestReleaseData.json()).tag_name
const version = latestReleaseTag.replace('v', '')
Expand Down

0 comments on commit 81d4fe5

Please sign in to comment.