Skip to content

Commit 97b5350

Browse files
committed
Branch master was renamed to main.
1 parent 1e9f5e9 commit 97b5350

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/utils/scraper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export async function getYearPage(year) {
5757
return page.replace(
5858
/href="\/\d+\/day\/(\d+)"/g,
5959
(full, num) =>
60-
`href="https://github.com/shahata/adventofcode-solver/blob/master/src/${year}/${dayName(num)}.js"`,
60+
`href="https://github.com/shahata/adventofcode-solver/blob/main/src/${year}/${dayName(num)}.js"`,
6161
);
6262
}
6363

src/utils/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ async function solver(session, year, day) {
6161
} catch {
6262
return false;
6363
}
64-
let url = `https://github.com/shahata/adventofcode-solver/blob/master/src/${fileName}.js`;
64+
let url = `https://github.com/shahata/adventofcode-solver/blob/main/src/${fileName}.js`;
6565
console.log(
6666
`<br><span><a href="${url}" target="_blank">Solution for ${fileName}!!!</a></span><br>`,
6767
);

0 commit comments

Comments
 (0)