mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 13:55:53 +03:00
[PR #627] [MERGED] feat: support deploy worker with UI assets #664
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#664
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/627
Author: @dreamhunter2333
Created: 4/9/2025
Status: ✅ Merged
Merged: 4/12/2025
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
5b1d0c7feat: support deploy worker with UI assets📊 Changes
22 files changed (+450 additions, -344 deletions)
View changed files
📝
.github/workflows/backend_deploy.yaml(+8 -0)📝
frontend/package.json(+1 -1)📝
frontend/pnpm-lock.yaml(+51 -51)📝
pages/functions/_middleware.js(+2 -1)📝
pages/package.json(+1 -1)📝
vitepress-docs/docs/.vitepress/config.ts(+0 -1)📝
vitepress-docs/docs/.vitepress/en.ts(+1 -0)📝
vitepress-docs/docs/.vitepress/zh.ts(+2 -0)📝
vitepress-docs/docs/zh/guide/actions/github-action.md(+40 -13)➕
vitepress-docs/docs/zh/guide/actions/pre-requisite.md(+10 -0)📝
vitepress-docs/docs/zh/guide/cli/pages.md(+6 -3)📝
vitepress-docs/docs/zh/guide/cli/worker.md(+30 -1)📝
vitepress-docs/docs/zh/guide/feature/config-smtp-proxy.md(+1 -1)📝
vitepress-docs/docs/zh/guide/feature/user-oauth2.md(+1 -1)📝
vitepress-docs/docs/zh/guide/quick-start.md(+1 -1)📝
vitepress-docs/package.json(+1 -1)📝
vitepress-docs/pnpm-lock.yaml(+158 -158)📝
worker/package.json(+4 -4)📝
worker/pnpm-lock.yaml(+104 -104)📝
worker/src/types.d.ts(+1 -0)...and 2 more files
📄 Description
User description
#613
PR Type
enhancement, bug fix
Description
Add support for deploying worker with UI assets.
Implement middleware to handle static file requests.
Update API paths to include
/external/.Modify compatibility date in
wrangler.toml.template.Changes walkthrough 📝
types.d.ts
Add `ASSETS` fetcher to bindingsworker/src/types.d.ts
ASSETSfetcher toBindingstype.worker.ts
Middleware for static file requests and API paths updateworker/src/worker.ts
API_PATHSarray._middleware.js
Update API paths in middlewarepages/functions/_middleware.js
API_PATHSto include/external/.wrangler.toml.template
Add assets configuration and update compatibility dateworker/wrangler.toml.template
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.