Pass COMPUTER_NAME to templates

This commit is contained in:
2025-10-19 02:06:40 +08:00
parent eabc75c8de
commit f038ca8e79
8 changed files with 29 additions and 19 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>喚醒成功 | 喚醒 PinLin3770</title>
<title>喚醒成功 | 喚醒 {{COMPUTER_NAME}}</title>
<style>
body {
font-family: sans-serif; padding: 1.5rem; font-size: 1.2rem;
@@ -14,7 +14,7 @@
</style>
</head>
<body>
<h1>喚醒 PinLin3770</h1>
<h1>喚醒 {{COMPUTER_NAME}}</h1>
<p>✅ 已經發送魔法封包</p>
<a href="/">回首頁</a>
</body>