mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-07-09 06:23:07 +08:00
feat: |Actions| Tag build add worker-with-wasm-mail-parser.zip (#590)
This commit is contained in:
@@ -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)
|
||||
|
||||

|
||||

|
||||
|
||||
## CLI 部署
|
||||
|
||||
### 修改代码
|
||||
|
||||
```bash
|
||||
cd worker
|
||||
@@ -56,7 +74,7 @@ export const commonParseMail = async (raw_mail: string | undefined | null): Prom
|
||||
}
|
||||
```
|
||||
|
||||
## 部署
|
||||
### 部署
|
||||
|
||||
```bash
|
||||
cd worker
|
||||
|
||||
Reference in New Issue
Block a user