diff --git a/.github/workflows/publish-webui-dist.yml b/.github/workflows/publish-webui-dist.yml index d917d60e..57424fb3 100644 --- a/.github/workflows/publish-webui-dist.yml +++ b/.github/workflows/publish-webui-dist.yml @@ -55,9 +55,13 @@ jobs: build-backend = "setuptools.build_meta" [tool.setuptools] - packages = ["maibot_dashboard"] include-package-data = true + [tool.setuptools.packages.find] + where = ["."] + include = ["maibot_dashboard"] + exclude = ["maibot_dashboard.dist*"] + [tool.setuptools.package-data] maibot_dashboard = ["dist/**"] EOF diff --git a/dashboard/package.json b/dashboard/package.json index 4266f5d4..bf98b1e5 100644 --- a/dashboard/package.json +++ b/dashboard/package.json @@ -1,7 +1,7 @@ { "name": "maibot-dashboard", "private": true, - "version": "0.11.6", + "version": "1.0.0", "type": "module", "scripts": { "dev": "vite", diff --git a/dashboard/src/routes/404.tsx b/dashboard/src/routes/404.tsx index ea6752fa..1f72ab52 100644 --- a/dashboard/src/routes/404.tsx +++ b/dashboard/src/routes/404.tsx @@ -24,7 +24,7 @@ export function NotFoundPage() { 页面未找到

- 抱歉,您访问的页面不存在或已被移除。 请检查 URL 是否正确,或返回首页继续浏览。 + 抱歉,您访问的页面不存在或已被移除。请检查 URL 是否正确,或返回首页继续浏览。