Skip to content

Commit 5af6883

Browse files
committed
fix: build replace bug
1 parent 2558977 commit 5af6883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const buildDir = "build";
2525
const isPreRelease = version.includes("-");
2626

2727
// If it is a pre-release, use update-beta.json
28-
config.updateURL = isPreRelease ? config.updateJSONBeta : config.updateBetaJSON;
28+
config.updateURL = isPreRelease ? config.updateBetaJSON : config.updateJSON;
2929

3030
const updateJSONFile = isPreRelease ? "update-beta.json" : "update.json";
3131
const updateLink = isPreRelease

0 commit comments

Comments
 (0)