mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 22:05:51 +03:00
[PR #477] [MERGED] feat: pages support Cloudflare Zero Trust #587
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#587
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/477
Author: @dreamhunter2333
Created: 11/8/2024
Status: ✅ Merged
Merged: 11/11/2024
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
fcc09c8feat: pages support Cloudflare Zero Trust📊 Changes
4 files changed (+6 additions, -2 deletions)
View changed files
📝
frontend/package.json(+1 -0)📝
frontend/src/main.js(+3 -1)📝
frontend/vite.config.js(+1 -1)📝
vitepress-docs/docs/zh/guide/cli/pages.md(+1 -0)📄 Description
User description
#465
PR Type
Enhancement, Documentation
Description
frontend/src/main.jsto disable PWA registration based on theVITE_PWA_DISABLEDenvironment variable.frontend/vite.config.jsto be conditional based on theVITE_PWA_DISABLEDenvironment variable.build:pages:nopwainfrontend/package.jsonto build pages without PWA.vitepress-docs/docs/zh/guide/cli/pages.mdto include instructions for building pages without PWA for Cloudflare Zero Trust.Changes walkthrough 📝
main.js
Conditional PWA registration based on environment variablefrontend/src/main.js
variable.
vite.config.js
Conditional PWA registration type in Vite configurationfrontend/vite.config.js
package.json
New build script for pages without PWAfrontend/package.json
pages.md
Documentation for building pages without PWAvitepress-docs/docs/zh/guide/cli/pages.md
Trust.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.