Skip to content

Commit 242d4d9

Browse files
committed
Default to v4 branch if unset
1 parent d7f0cac commit 242d4d9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import Logger from "js-logger";
1818
const DEFAULT_SETTINGS: QuartzSyncerSettings = {
1919
git: {
2020
remoteUrl: "",
21-
branch: "main",
21+
branch: "v4",
2222
corsProxyUrl: "",
2323
auth: {
2424
type: "basic",
@@ -257,7 +257,7 @@ export default class QuartzSyncer extends Plugin {
257257
remoteUrl: githubUserName
258258
? `https://github.com/${githubUserName}/${githubRepo}.git`
259259
: "",
260-
branch: "main",
260+
branch: "v4",
261261
corsProxyUrl: "",
262262
auth: {
263263
type: "basic",

src/repositoryConnection/QuartzSyncerSiteManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default class QuartzSyncerSiteManager {
3232
this.baseSyncerConnection = new RepositoryConnection({
3333
gitSettings: {
3434
remoteUrl: "https://github.com/saberzero1/quartz.git",
35-
branch: "main",
35+
branch: "v4",
3636
auth: { type: "none" },
3737
},
3838
contentFolder: "content",

0 commit comments

Comments
 (0)