mirror of
https://github.com/dalbodeule/hop-gate.git
synced 2026-02-05 00:02:23 +09:00
- Implemented gRPC-based tunnel sessions for multiplexing HTTP requests via `grpcTunnelSession` with features like `recvLoop`, `send`, and per-stream state management. - Registered and unregistered tunnels for domains, replacing DTLS-based sessions for improved scalability and maintainability. - Integrated domain validation checks during gRPC tunnel handshake with configurable validator support. - Modified static error pages (`400.html`, `404.html`, `502.html`, `504.html`, `500.html`, `525.html`) to include favicon linking, enhancing error page presentation.
33 lines
1.4 KiB
HTML
33 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>404 Not Found - HopGate</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="/__hopgate_assets__/errors.css">
|
|
<link rel="icon" href="/__hopgate_assets__/favicon.ico">
|
|
</head>
|
|
<body class="min-h-screen bg-slate-950 text-slate-50 flex items-center justify-center px-4">
|
|
<div class="w-full max-w-xl text-center">
|
|
<div class="items-center justify-center gap-3 mb-8 flex flex-col">
|
|
<img src="/__hopgate_assets__/hop-gate.png" alt="HopGate" class="h-8 w-[240px] opacity-90" />
|
|
<h2 class="text-md font-medium tracking-[0.25em] uppercase text-slate-400">HopGate</h2>
|
|
</div>
|
|
|
|
<div class="inline-flex items-baseline gap-4 mb-4">
|
|
<span class="text-6xl md:text-7xl font-extrabold tracking-[0.25em] text-sky-400">404</span>
|
|
<span class="text-lg md:text-xl font-semibold text-slate-100">Domain or page not found</span>
|
|
</div>
|
|
|
|
<p class="text-sm md:text-base text-slate-300 leading-relaxed">
|
|
The requested domain or path does not exist on this HopGate edge.<br>
|
|
요청하신 도메인 또는 경로를 찾을 수 없습니다.
|
|
</p>
|
|
|
|
<div class="mt-8 text-xs md:text-sm text-slate-500">
|
|
Please check the URL or try again later.<br>
|
|
URL을 다시 확인하시거나 잠시 후 다시 시도해 주세요.
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |