OAuth proxy server for blup image uploader
1/**
2 * For more details on how to configure Wrangler, refer to:
3 * https://developers.cloudflare.com/workers/wrangler/configuration/
4 */
5{
6 "$schema": "node_modules/wrangler/config-schema.json",
7 "name": "blupimgsblue",
8 "main": "src/index.ts",
9 "compatibility_date": "2025-06-28",
10 "compatibility_flags": [
11 "global_fetch_strictly_public"
12 ],
13 "assets": {
14 "directory": "./public",
15 "binding": "ASSETS",
16 },
17 "observability": {
18 "enabled": true
19 },
20 "kv_namespaces": [
21 {
22 "binding": "OAUTH_SESSIONS",
23 "id": "dcd7506b76584cf1b2eef1d0effbd45b"
24 }
25 ],
26 "routes": [
27 {
28 "pattern": "blup.imgs.blue",
29 "custom_domain": true
30 }
31 ]
32 /**
33 * Smart Placement
34 * Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
35 */
36 // "placement": { "mode": "smart" },
37
38 /**
39 * Bindings
40 * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including
41 * databases, object storage, AI inference, real-time communication and more.
42 * https://developers.cloudflare.com/workers/runtime-apis/bindings/
43 */
44
45 /**
46 * Environment Variables
47 * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
48 */
49 // "vars": { "MY_VARIABLE": "production_value" },
50 /**
51 * Note: Use secrets to store sensitive data.
52 * https://developers.cloudflare.com/workers/configuration/secrets/
53 */
54
55 /**
56 * Static Assets
57 * https://developers.cloudflare.com/workers/static-assets/binding/
58 */
59 // "assets": { "directory": "./public/", "binding": "ASSETS" },
60
61 /**
62 * Service Bindings (communicate between multiple Workers)
63 * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
64 */
65 // "services": [{ "binding": "MY_SERVICE", "service": "my-service" }]
66}