diff --git a/CHANGELOG.md b/CHANGELOG.md index b3b4bed..69f9c6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,21 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [1.0.5](https://github.com/DTStack/UED/compare/v1.0.4...v1.0.5) (2025-08-04) + + +### Features + +* replace favicon.ico ([1a666ee](https://github.com/DTStack/UED/commit/1a666ee946770b7cfe014bf543f034051f3e377e)) + +### [1.0.4](https://github.com/DTStack/UED/compare/v1.0.3...v1.0.4) (2025-08-04) + + +### Features + +* baidu tongji ([91022fd](https://github.com/DTStack/UED/commit/91022fdbccf2cbd5a1d52d5a438659382a061994)) +* basePath is ued ([c377be2](https://github.com/DTStack/UED/commit/c377be2374b7ef743da1a69fd40a9b6e5fc10e82)) + ### [1.0.3](https://github.com/DTStack/UED/compare/v1.0.2...v1.0.3) (2025-08-01) diff --git a/next.config.js b/next.config.js index c143874..a6eefdd 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,7 @@ const nextConfig = { + assetPrefix: '/ued', + // 本地开发时要放开 basePath 的注释 + // basePath: '/ued', distDir: 'build', images: { domains: [ diff --git a/package.json b/package.json index b30fe01..cf6a3ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ued-landing", - "version": "1.0.3", + "version": "1.0.5", "description": "", "main": "index.js", "scripts": { diff --git a/public/favicon.ico b/public/favicon.ico index 8abc9d3..64989ce 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/favicon_1.ico b/public/favicon_1.ico new file mode 100644 index 0000000..8abc9d3 Binary files /dev/null and b/public/favicon_1.ico differ diff --git a/scripts/deploy.mjs b/scripts/deploy.mjs index af6090f..f1a8e5c 100644 --- a/scripts/deploy.mjs +++ b/scripts/deploy.mjs @@ -25,7 +25,7 @@ $.verbose = false; infoLog('3. Input server ip'); const ip = await question(`Input the server ip: `); - doneLog(`Your ip is ${ip}.`); + doneLog(`Your ip is ${ip}`); infoLog(`4. Uploading files...`); $.verbose = true; diff --git a/src/components/navHeader.tsx b/src/components/navHeader.tsx index 75ccea3..0612ee2 100644 --- a/src/components/navHeader.tsx +++ b/src/components/navHeader.tsx @@ -43,10 +43,10 @@ function NavHeader(props: IProps) { return (