Skip to content

Commit

Permalink
patch combo
Browse files Browse the repository at this point in the history
  • Loading branch information
elringus committed Dec 31, 2023
1 parent c94bf67 commit d4dc297
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- run: npm ci
- run: npm run patch
- run: npm run build
- uses: actions/configure-pages@v3
- uses: actions/upload-pages-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion scripts/patch.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# https://github.com/vuejs/vitepress/issues/3264
sed -i -e "s/link.baseURI);/link.baseURI);\nif (link?.href?.startsWith('https:')) return;/g" node_modules/vitepress/dist/client/app/router.js
sed -i -e "s/link.baseURI);/link.baseURI);\nif (link?.href === 'https:\/\/naninovel.com\/') return;/g" node_modules/vitepress/dist/client/app/router.js

0 comments on commit d4dc297

Please sign in to comment.