From a010403e5ec80af0d06644e285a8fa5a20c70e77 Mon Sep 17 00:00:00 2001 From: "(Moai Emoji)" <25407129+SandiyosDev@users.noreply.github.com> Date: Mon, 9 Jun 2025 00:35:10 -0500 Subject: [PATCH] Create wrangler.toml --- wrangler.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 wrangler.toml diff --git a/wrangler.toml b/wrangler.toml new file mode 100644 index 0000000..b241caf --- /dev/null +++ b/wrangler.toml @@ -0,0 +1,18 @@ +name = "your-project-name" +pages_build_output_dir = "build" +compatibility_date = "2023-05-18" +compatibility_flags = ["nodejs_compat"] + +[env.production] + # Bind your R2 bucket. The 'binding' must be "BUCKET". + [[env.production.r2_buckets]] + binding = "BUCKET" + bucket_name = "prod-r2-bucket-name" # <-- CHANGE THIS + + [env.production.vars] + NODE_ENV = "production" + WEBDAV_USERNAME = "username" # <-- CHANGE THIS + WEBDAV_PASSWORD = "password" # <-- CHANGE THIS + # Set to "1" to allow anyone to view and list files without a password. + # Set to "0" to make all access private. + WEBDAV_PUBLIC_READ = "0"