web-infra-dev / rspress

🦀💨 A fast Rspack-based static site generator.
https://rspress.dev
MIT License
1.19k stars 107 forks source link

fix: only append base to internal non-relative urls #1195

Closed Timeless0911 closed 1 week ago

Timeless0911 commented 1 week ago

Summary

Only append base to internal non-relative urls, to prevent conflict between base and output.assetPrefix when using relative urls.

Related Issue

Checklist

netlify[bot] commented 1 week ago

Deploy Preview for aquamarine-blini-95325f ready!

Name Link
Latest commit 97b2e2e6e856635184f1d5ed4387caec2a7bd874
Latest deploy log https://app.netlify.com/sites/aquamarine-blini-95325f/deploys/6673cd6be05b23000882a59f
Deploy Preview https://deploy-preview-1195--aquamarine-blini-95325f.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 94 (🟢 up 10 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.