Commit Graph
8 Commits
Author SHA1 Message Date
xixu-me 3b1ee1cd2e Revert "Convert Cloudflare Worker to Cloudflare Pages" 2025-11-16 23:29:53 +08:00
Claude eabf0782d4 Convert Cloudflare Worker to Cloudflare Pages
This commit converts the entire Xget application from a Cloudflare Worker
to a Cloudflare Page, enabling static asset hosting while maintaining all
existing functionality.

Changes:
- Add functions/[[path]].js: Catch-all Pages Function handler
- Add public/index.html: Landing page with Xget information
- Update src/index.js: Export handleRequest for Pages Function import
- Update wrangler.toml: Configure for Pages deployment
- Update package.json: Change scripts to use Pages commands
- Update vitest.config.js: Include functions/ in coverage
- Update .github/workflows/depoly.yml: Deploy to Pages
- Update documentation: CLAUDE.md, README.md, README.en.md

The conversion maintains full backward compatibility with existing tests
and functionality. All caching strategies, security headers, and protocol
handling remain unchanged.
2025-11-16 15:18:34 +00:00
xixu-me 3ef1720f35 Update wrangler.toml observability and placement settings
Added detailed observability configuration for logs and traces, including persistence and invocation logs. Moved placement mode to a dedicated section and adjusted observability flags for improved monitoring and deployment control.
2025-11-07 13:46:16 +08:00
xixu-me 936e48f4a8 Add smart placement mode to wrangler.toml
Added a [placement] section with mode set to 'smart' in wrangler.toml to configure deployment placement strategy.
2025-08-16 14:18:51 +08:00
xixu-me 790c142edc Remove experimental preview_url from wrangler.toml
Deleted the [experimental] section and preview_url setting from wrangler.toml, likely to clean up unused or deprecated configuration.
2025-07-27 16:01:48 +08:00
xixu-me c5950a36eb Add experimental preview_url setting to wrangler.toml
Introduces the [experimental] section with preview_url set to false in wrangler.toml, allowing configuration of preview URL behavior for development and testing purposes.
2025-07-27 15:59:48 +08:00
xixu-me 972c560bf8 Disable workers_dev in wrangler.toml
Set workers_dev to false in wrangler.toml to prevent deployment to the workers.dev subdomain. This change is likely for production or custom domain deployment.
2025-07-25 21:32:54 +08:00
xixu-me 66d2461caf Create some code 2024-11-01 19:08:30 +08:00