docs: unify header to import path for package docs

This commit is contained in:
yusing
2026-02-18 03:25:32 +08:00
parent 7baf0b6fe5
commit 20695c52e8
47 changed files with 56 additions and 70 deletions

View File

@@ -1,4 +1,4 @@
# Error Page Middleware
# internal/net/gphttp/middleware/errorpage
Custom error page serving middleware that replaces default HTTP error responses with styled custom pages.
@@ -233,16 +233,16 @@ flowchart TD
```html
<!DOCTYPE html>
<html>
<head>
<head>
<title>Service Unavailable</title>
<link rel="stylesheet" href="/$gperrorpage/style.css">
</head>
<body>
<link rel="stylesheet" href="/$gperrorpage/style.css" />
</head>
<body>
<div class="error-container">
<h1>503 - Service Unavailable</h1>
<p>The service is temporarily unavailable. Please try again later.</p>
<h1>503 - Service Unavailable</h1>
<p>The service is temporarily unavailable. Please try again later.</p>
</div>
</body>
</body>
</html>
```