Merge branch 'main' into cloudflare

This commit is contained in:
hamster1963 2024-10-30 17:34:25 +08:00
commit dce80e0348
4 changed files with 10 additions and 3 deletions

View File

@ -2,6 +2,7 @@
"extends": ["next/core-web-vitals", "next/typescript"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@next/next/no-img-element": "off"
"@next/next/no-img-element": "off",
"react-hooks/exhaustive-deps": "off"
}
}

View File

@ -10,6 +10,12 @@
| [部署简易教程](https://buycoffee.top/blog/tech/nezha) | [Docker 部署教程](https://buycoffee.top/blog/tech/nezha-docker) | [Cloudflare 部署教程](https://buycoffee.top/blog/tech/nezha-cloudflare) | [更新教程](https://buycoffee.top/blog/tech/nezha-upgrade) |
| [Vercel-demo](https://nezha-vercel.buycoffee.top) | [Docker-demo](https://nezha-docker.buycoffee.tech) | [Cloudflare-demo](https://nezha-cloudflare.buycoffee.tech) [密码: nezhadash] |
#### Cloudflare 部署所需环境变量
NODE_VERSION 22.9.0
<br>
BUN_VERSION 1.1.29
#### 环境变量
| 变量名 | 含义 | 示例 |

View File

@ -53,7 +53,7 @@ export default function Switch({
inline: "center",
});
}
}, [nowTag, allTag]);
}, [nowTag]);
return (
<div

View File

@ -1,6 +1,6 @@
{
"name": "nezha-dash",
"version": "1.0.0",
"version": "1.1.0",
"private": true,
"scripts": {
"dev": "next dev -p 3020",