config: 迁移到 Cloudflare

This commit is contained in:
Ad-closeNN
2026-02-28 18:20:23 +08:00
parent 22409c9222
commit 2eb5868936
2 changed files with 81 additions and 1 deletions
+80
View File
@@ -0,0 +1,80 @@
<!DOCTYPE html>
<html>
<head>
<title>404 未找到 - Ad_closeNN 的小站</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="refresh" content="5;url=/">
<meta id="theme-color-meta" name="theme-color" content="#48823b">
<link rel="icon" href="/assets/avatar.jpg">
<style>
body {
height: 100%;
width: 100%;
background: #fefefe center bottom fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
color: #2E2F30;
margin: 0;
font-family: MiSans VF, MiSans, Inter, HarmonyOS Sans SC, 鸿, Times New Roman, sans-serif;
}
.dialog {
float: left;
text-align: left;
width: 50%;
margin: 2% auto 0;
padding-left: 10%;
}
h1 {
font-size: 5em;
color: #393939;
line-height: 1em;
font-family: MiSans VF, MiSans, Inter, HarmonyOS Sans SC, 鸿, Times New Roman, sans-serif;
}
h2 {
font-size: 2em;
color: #393939;
line-height: .5em;
font-family: MiSans VF, MiSans, Inter, HarmonyOS Sans SC, 鸿, Times New Roman, sans-serif;
}
span {
font-size: 1.4em;
color: #393939;
font-family: MiSans VF, MiSans, Inter, HarmonyOS Sans SC, 鸿, Times New Roman, sans-serif;
}
.link {
color: grey
}
</style>
</head>
<body>
<div>
<div class="dialog">
<h1>Woops!</h1>
<span>我们找不到您要访问的页面</span>
<span id="fullpath" class="link"></span>
<br>
<br>
<h2>将在 5 秒后跳转回首页</h2>
</div>
</div>
<script>
let fullpath = window.location.href
document.getElementById("fullpath").innerText = fullpath
</script>
</body>
</html>
+1 -1
View File
@@ -79,6 +79,6 @@ export async function GET(context: APIContext) {
description: siteConfig.subtitle || 'No description',
site: context.site,
items: feed,
customData: `<language>${siteConfig.lang}</language><follow_challenge><feedId>177350379949135872</feedId><userId>83370505718413312</userId></follow_challenge>`,
customData: `<language>${siteConfig.lang}</language><follow_challenge><feedId>250504037866558464</feedId><userId>83370505718413312</userId></follow_challenge>`,
});
}