From 0a754b28881afdf3692df2001cfde4fb0a1c7180 Mon Sep 17 00:00:00 2001
From: dingning <349211733@qq.com>
Date: Wed, 29 Oct 2025 17:55:40 +0800
Subject: [PATCH 1/4] =?UTF-8?q?fix:=20=E5=B0=86HTML=E8=AF=AD=E8=A8=80?=
=?UTF-8?q?=E5=B1=9E=E6=80=A7=E4=BB=8E"en"=E6=94=B9=E4=B8=BA"zh-CN"?=
=?UTF-8?q?=E4=BB=A5=E5=85=B3=E9=97=AD=E8=87=AA=E5=8A=A8=E7=BF=BB=E8=AF=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
index 8d54eea3..9c387569 100644
--- a/index.html
+++ b/index.html
@@ -1,5 +1,5 @@
-
+
From 43a80cf30866fc083e4a8b1bf0feb229f2113820 Mon Sep 17 00:00:00 2001
From: Zyronon
Date: Thu, 30 Oct 2025 10:03:34 +0800
Subject: [PATCH 2/4] Update TypingArticle.vue
---
src/pages/article/components/TypingArticle.vue | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/pages/article/components/TypingArticle.vue b/src/pages/article/components/TypingArticle.vue
index 5843dcd2..b90dd56d 100644
--- a/src/pages/article/components/TypingArticle.vue
+++ b/src/pages/article/components/TypingArticle.vue
@@ -1,10 +1,10 @@
+
diff --git a/manifest.json b/manifest.json
new file mode 100644
index 00000000..acb6d6f5
--- /dev/null
+++ b/manifest.json
@@ -0,0 +1,16 @@
+{
+ "name": "Type Words - 词文记 | 单词跟打 · 文章跟打",
+ "short_name": "",
+ "start_url": ".",
+ "description": "在线英语打字练习平台,支持单词跟打与文章跟打,帮助提升打字速度与英语学习效率。",
+ "display": "standalone",
+ "background_color": "#ffffff",
+ "theme_color": "#ffffff",
+ "icons": [
+ {
+ "src": "/favicon.png",
+ "sizes": "800x800",
+ "type": "image/png"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/service-worker.js b/service-worker.js
new file mode 100644
index 00000000..ce063589
--- /dev/null
+++ b/service-worker.js
@@ -0,0 +1,12 @@
+// 'install' 事件在 Service Worker 首次被安装时触发。
+self.addEventListener('install', event => {
+ self.skipWaiting();
+});
+
+// 'activate' 事件在 Service Worker 变为激活状态时触发。
+self.addEventListener('activate', event => {
+ return self.clients.claim();
+});
+
+self.addEventListener('fetch', event => {
+});
\ No newline at end of file
From 0469175433c61e1b5d621b97553dcb8f61ad100a Mon Sep 17 00:00:00 2001
From: SMGDev
Date: Thu, 30 Oct 2025 10:45:21 +0000
Subject: [PATCH 4/4] fix: change git action
---
.github/workflows/deploy-pages.yml | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml
index fee624ac..c59dc24c 100644
--- a/.github/workflows/deploy-pages.yml
+++ b/.github/workflows/deploy-pages.yml
@@ -34,6 +34,13 @@ jobs:
- name: Build
run: pnpm run build-nocdn
+
+ - name: Deploy to gh-pages branch
+ uses: peaceiris/actions-gh-pages@v4
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_branch: gh-pages
+ publish_dir: ./dist
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
@@ -52,7 +59,3 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: ./dist
- publish_branch: gh-pages