Skip to content

Commit cdbff34

Browse files
authored
fix: update link remapping in link checker and enhance .lycheeignore
1 parent ee75b7e commit cdbff34

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/check-pr-links.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@ jobs:
3838
--root-dir $PWD/dist
3939
--remap 'https://expressjs\.com\/(.*)/ file://'$PWD'/dist/$1/index.html'
4040
--remap 'https://expressjs\.com\/(.*)\.html file://'$PWD'/dist/$1/index.html'
41+
--remap 'file://.*/dist/(.*)\.html file://'$PWD'/dist/$1/index.html'
4142
dist/
4243
fail: true

astro/.lycheeignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
# Rate limit for npmjs.com
2-
^https://npmjs.com/$
2+
^https://www.npmjs.com/$
3+
4+
# Prevent github rate limit
5+
^https://github.com/$
6+
7+
dist/404/index.html$

0 commit comments

Comments
 (0)