feat: |Actions| Tag build add worker-with-wasm-mail-parser.zip (#590)

This commit is contained in:
Dream Hunter
2025-02-22 18:51:44 +08:00
committed by GitHub
parent 3a542a8391
commit c3987d364c
4 changed files with 41 additions and 8 deletions

View File

@@ -3,7 +3,25 @@
> [!NOTE]
> 如果你使用了 webhook 转发,或者 telegram bot 接受邮件,但是邮件内容是乱码,或者无法解析,你对解析的需要更高的要求,可以使用这个功能。
## 修改代码
## UI 部署
1. 下载 [worker-with-wasm-mail-parser.zip](https://github.com/dreamhunter2333/cloudflare_temp_email/releases/latest/download/worker-with-wasm-mail-parser.zip)
2. 回到 `Overview`,找到刚刚创建的 worker点击 `Edit Code`, 删除原来的文件,上传 `worker.js``wasm` 后缀的文件, 点击 `Deploy`
> [!NOTE]
> 上传需要先点击左侧菜单的 Explorer,
> 在文件列表的窗口里点击鼠标右键,在右键菜单里找到 `Upload`,
> 请参考下面的截图
>
> 参考: [issues156](https://github.com/dreamhunter2333/cloudflare_temp_email/issues/156#issuecomment-2079453822)
![worker2](/ui_install/worker-2.png)
![worker-upload](/ui_install/worker-upload.png)
## CLI 部署
### 修改代码
```bash
cd worker
@@ -56,7 +74,7 @@ export const commonParseMail = async (raw_mail: string | undefined | null): Prom
}
```
## 部署
### 部署
```bash
cd worker