From e46fc259a94bb341adcf970e713e69290440ed79 Mon Sep 17 00:00:00 2001 From: Privat5418 <150410216+2992253553@users.noreply.github.com> Date: Tue, 16 Dec 2025 20:42:24 +0800 Subject: [PATCH 01/14] Add files via upload --- wrangler.jsonc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 wrangler.jsonc diff --git a/wrangler.jsonc b/wrangler.jsonc new file mode 100644 index 0000000000..484f71bc40 --- /dev/null +++ b/wrangler.jsonc @@ -0,0 +1,7 @@ +{ + "name": "Blog", + "compatibility_date": "2025-12-16", + "assets": { + "directory": "./dist" + } +} \ No newline at end of file From ac0c26091fa168b7179bf6915c66c5874c1dbd43 Mon Sep 17 00:00:00 2001 From: Privat5418 <150410216+2992253553@users.noreply.github.com> Date: Tue, 16 Dec 2025 20:48:00 +0800 Subject: [PATCH 02/14] Update wrangler.jsonc --- wrangler.jsonc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wrangler.jsonc b/wrangler.jsonc index 484f71bc40..6695862d5d 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -1,7 +1,8 @@ { - "name": "Blog", + "name": "blog", "compatibility_date": "2025-12-16", "assets": { "directory": "./dist" } -} \ No newline at end of file + +} From 9099a8de3b0d41b1097af3ebaeb3eda13a961074 Mon Sep 17 00:00:00 2001 From: Privat5418 <150410216+2992253553@users.noreply.github.com> Date: Tue, 16 Dec 2025 21:04:54 +0800 Subject: [PATCH 03/14] Update wrangler.jsonc --- wrangler.jsonc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wrangler.jsonc b/wrangler.jsonc index 6695862d5d..b664b14128 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -2,7 +2,8 @@ "name": "blog", "compatibility_date": "2025-12-16", "assets": { - "directory": "./dist" + "directory": "./public"" } } + From b1d17d9f177fbc9f507610c5d25451617423a2aa Mon Sep 17 00:00:00 2001 From: Privat5418 <150410216+2992253553@users.noreply.github.com> Date: Tue, 16 Dec 2025 21:08:30 +0800 Subject: [PATCH 04/14] Update wrangler.jsonc --- wrangler.jsonc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wrangler.jsonc b/wrangler.jsonc index b664b14128..bea37a545d 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -2,8 +2,9 @@ "name": "blog", "compatibility_date": "2025-12-16", "assets": { - "directory": "./public"" + "directory": "./public" } } + From c63c5f8acbc26f2b6130bfe1380ecc38042d1af4 Mon Sep 17 00:00:00 2001 From: Privat5418 <150410216+2992253553@users.noreply.github.com> Date: Tue, 16 Dec 2025 21:20:08 +0800 Subject: [PATCH 05/14] Change assets directory from './public' to '.temp' Updated the assets directory path in wrangler.jsonc. --- wrangler.jsonc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wrangler.jsonc b/wrangler.jsonc index bea37a545d..c1e16b0b38 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -2,9 +2,10 @@ "name": "blog", "compatibility_date": "2025-12-16", "assets": { - "directory": "./public" + "directory": ".temp" } } + From 49ff994a4315abef477a3c2230b8418aa74b53d1 Mon Sep 17 00:00:00 2001 From: Privat5418 <150410216+2992253553@users.noreply.github.com> Date: Tue, 16 Dec 2025 21:41:59 +0800 Subject: [PATCH 06/14] Update _config.yml --- _config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index 4580848ef0..92ec9d622e 100644 --- a/_config.yml +++ b/_config.yml @@ -13,8 +13,8 @@ timezone: # URL ## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project' -url: https://dunwu.github.io/blog -root: /blog/ +url: https://blog-1ux.pages.dev/ +root: / #permalink: :year/:month/:day/:title/ #permalink: :abbrlink.html permalink_defaults: From 1f077a75c913feb8c174f6ab5fb5c47b7de480e7 Mon Sep 17 00:00:00 2001 From: Privat5418 <150410216+2992253553@users.noreply.github.com> Date: Tue, 16 Dec 2025 21:44:05 +0800 Subject: [PATCH 07/14] Update _config.yml --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 92ec9d622e..27e43a3a2b 100644 --- a/_config.yml +++ b/_config.yml @@ -13,7 +13,7 @@ timezone: # URL ## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project' -url: https://blog-1ux.pages.dev/ +url: https://xireiki.de5.net root: / #permalink: :year/:month/:day/:title/ #permalink: :abbrlink.html From 6b646896c5f41f2e39b27692f9efae73a201423b Mon Sep 17 00:00:00 2001 From: Privat5418 <150410216+2992253553@users.noreply.github.com> Date: Tue, 16 Dec 2025 21:45:33 +0800 Subject: [PATCH 08/14] Change root directory to '/blog/' --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 27e43a3a2b..84bafcdd93 100644 --- a/_config.yml +++ b/_config.yml @@ -14,7 +14,7 @@ timezone: # URL ## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project' url: https://xireiki.de5.net -root: / +root: /blog/ #permalink: :year/:month/:day/:title/ #permalink: :abbrlink.html permalink_defaults: From 4aa8e3e383df87c379a706b4ad781a349dc60570 Mon Sep 17 00:00:00 2001 From: Privat5418 <150410216+2992253553@users.noreply.github.com> Date: Tue, 16 Dec 2025 21:56:16 +0800 Subject: [PATCH 09/14] Update package.json --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 39f31450cd..1abdcb0b5a 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "draft": "hexo new draft \"Title\"", "clean": "hexo clean", "start": "hexo clean & hexo server -l -p 4000", - "build": "hexo clean & hexo generate", - "deploy": "bash deploy.sh" + "build": "hexo clean && hexo generate --config _config.yml,_config.cloudflare.yml", + "deploy": "npm run build && npx wrangler deploy" }, "dependencies": { "hexo": "^6.1.0", @@ -32,4 +32,4 @@ "devDependencies": { "hexo-cli": "^4.3.0" } -} \ No newline at end of file +} From e7eef15d411e83bcbb8046c54aef03a15bd26389 Mon Sep 17 00:00:00 2001 From: Privat5418 <150410216+2992253553@users.noreply.github.com> Date: Tue, 16 Dec 2025 21:57:53 +0800 Subject: [PATCH 10/14] Add files via upload --- _config.cloudflare.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 _config.cloudflare.yml diff --git a/_config.cloudflare.yml b/_config.cloudflare.yml new file mode 100644 index 0000000000..92eb497ee1 --- /dev/null +++ b/_config.cloudflare.yml @@ -0,0 +1,20 @@ +# Cloudflare Pages 专用配置 +# 覆盖默认配置 + +# URL +url: https://xireiki.de5.net/ # 替换为你的 Cloudflare Pages 域名 +root: / + +# 部署设置 +deploy: + type: git + repo: + branch: main + message: "Deploy to Cloudflare Pages" + +# 资源路径设置 +cdn: + enable: false # 如果使用 CDN,设为 true 并配置下面的 CDN 地址 + +# 静态资源前缀(如果需要在子目录下) +static_prefix: / \ No newline at end of file From 4e22c3c09fc3eb034916d9000f7fe4809446ecf5 Mon Sep 17 00:00:00 2001 From: Privat5418 <150410216+2992253553@users.noreply.github.com> Date: Tue, 16 Dec 2025 22:11:27 +0800 Subject: [PATCH 11/14] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cfcee6cdb1..37433d2130 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,8 @@ > 💧 [Blog](https://github.com/dunwu/blog/) 是一个十年 Java 程序员的博客。 > -> - 🔁 项目同步维护:[Github](https://github.com/dunwu/blog/) | [Gitee](https://gitee.com/turnon/blog/) -> - 📖 电子书阅读:[Github Pages](https://dunwu.github.io/blog/) | [Gitee Pages](https://turnon.gitee.io/blog/) +> - 🔁 项目同步维护:[Github](https://github.com/2992253553/blog/) | [Gitee](https://gitee.com/Privat5418/blog/) +> - 📖 电子书阅读:[Github Pages](https://Privat5418.github.io/blog/) | [Gitee Pages](https://Privat5418.gitee.io/blog/) ## Java @@ -708,4 +708,4 @@ ## 🚪 传送 -◾ 💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://dunwu.github.io/blog/) ◾ +◾ 💧 [钝悟的 IT 知识图谱](https://dunwu.github.io/waterdrop/) ◾ 🎯 [钝悟的博客](https://xireiki.de5.net/) ◾ From 14725c10544fb6ca767b055cdfddf82d38f105a8 Mon Sep 17 00:00:00 2001 From: Privat5418 <150410216+2992253553@users.noreply.github.com> Date: Tue, 16 Dec 2025 22:24:50 +0800 Subject: [PATCH 12/14] Update social links and icons in configuration --- _config.next.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_config.next.yml b/_config.next.yml index 59ba48fe7c..74850f979c 100644 --- a/_config.next.yml +++ b/_config.next.yml @@ -167,14 +167,14 @@ site_state: true # Key is the link label showing to end users. # Value before `||` delimiter is the target permalink, value after `||` delimiter is the name of Font Awesome icon. social: - GitHub: https://github.com/dunwu || fab fa-github - E-Mail: mailto:forbreak@163.com || fa fa-envelope - #Weibo: https://weibo.com/yourname || fab fa-weibo + GitHub: https://github.com/2992253553 || fab fa-github + E-Mail: 2992253553@qq.com || fa fa-envelope + Weibo: https://weibo.com/7110018733 || fab fa-weibo #Google: https://plus.google.com/yourname || fab fa-google - #Twitter: https://twitter.com/yourname || fab fa-twitter + Twitter: https://twitter.com/Privat5418 || fab fa-twitter #FB Page: https://www.facebook.com/yourname || fab fa-facebook #StackOverflow: https://stackoverflow.com/yourname || fab fa-stack-overflow - #YouTube: https://youtube.com/yourname || fab fa-youtube + YouTube: https://youtube.com/@Privat5418 || fab fa-youtube #Instagram: https://instagram.com/yourname || fab fa-instagram #Skype: skype:yourname?call|chat || fab fa-skype From b609bfb36257f5cc08595186c383acad24d26f47 Mon Sep 17 00:00:00 2001 From: Privat5418 <150410216+2992253553@users.noreply.github.com> Date: Thu, 18 Dec 2025 02:54:42 +0800 Subject: [PATCH 13/14] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 37433d2130..9285699aca 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@