Skip to content

Conversation

@chenjiahan
Copy link
Member

Summary

  • Enhance error page with status code in title and centered message
  • Fix typo in range header variable name

Before

image

After

Screenshot 2025-10-23 at 10 46 24

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings October 23, 2025 02:52
@netlify
Copy link

netlify bot commented Oct 23, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 6258eee
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/68f99f3c55b078000897c9fc
😎 Deploy Preview https://deploy-preview-6412--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 69 (no change from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

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

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves the error page display in the dev server and fixes a typo in a variable name. The main changes include updating the error page HTML to display the status code in the title, center the error message, and add branding, while also correcting the misspelled "rage" variable to "range" in the range header handling.

Key Changes:

  • Enhanced error page HTML with status code in title and centered layout
  • Fixed variable name typo from "rage" to "range" in range header handling
  • Refactored functions to use destructuring for improved readability

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

chenjiahan and others added 2 commits October 23, 2025 11:05
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@chenjiahan chenjiahan merged commit 10c345a into main Oct 23, 2025
21 of 23 checks passed
@chenjiahan chenjiahan deleted the error_page_1023 branch October 23, 2025 04:01
@chenjiahan chenjiahan mentioned this pull request Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants