Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions wrangler.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name = "cf-r2-webdav"
main = "src/index.ts"
compatibility_date = "2023-01-01"
Copy link

Copilot AI Jan 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The compatibility_date is set to "2023-01-01", which is now over 3 years old. Cloudflare Workers compatibility dates control which versions of APIs and behaviors are used. Using an older compatibility date may prevent access to newer features, bug fixes, and performance improvements.

Consider updating to a more recent compatibility date (e.g., "2024-01-01" or later) to take advantage of improvements in the Cloudflare Workers runtime. Review the Cloudflare Workers changelog to ensure no breaking changes affect this application.

Suggested change
compatibility_date = "2023-01-01"
compatibility_date = "2024-01-01"

Copilot uses AI. Check for mistakes.

[vars]
USERNAME = "$USERNAME"
PASSWORD = "$PASSWORD"
BUCKET_NAME = "$BUCKET_NAME"

[[r2_buckets]]
binding = "BUCKET"
bucket_name = "$BUCKET_NAME"
Loading