[fix](errorpages): refine error page handling and resolve template issues

- Replaced unused `logo.svg` reference with `hop-gate.png` in embedded assets.
- Fixed redundant code for reading files from the error page directory.
- Updated 400 error template to properly reference external Tailwind CSS.
- Corrected invalid DOCTYPE declaration in 525 error template.
This commit is contained in:
dalbodeule
2025-12-02 22:07:22 +09:00
parent 0c4e02f832
commit 9bb0d0d009
3 changed files with 8 additions and 9 deletions

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>400 Bad Request - HopGate</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Tailwind build output should be bundled into this file -->
<!-- Tailwind CSS is served separately from /__hopgate_assets__/errors.css -->
<link rel="stylesheet" href="/__hopgate_assets__/errors.css">
</head>
<body class="min-h-screen bg-slate-950 text-slate-50 flex items-center justify-center px-4">

View File

@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">