Update wrangler.jsonc

This commit is contained in:
2025-10-25 17:12:35 +07:00
parent 543d9e5de2
commit bedef4e17d

View File

@@ -3,41 +3,44 @@
* https://developers.cloudflare.com/workers/wrangler/configuration/ * https://developers.cloudflare.com/workers/wrangler/configuration/
*/ */
{ {
"$schema": "node_modules/wrangler/config-schema.json", "$schema": "node_modules/wrangler/config-schema.json",
"name": "google-play-scraper-worker", "name": "google-play-scraper-worker",
"main": "src/index.js", "main": "src/index.js",
"compatibility_date": "2025-10-24", "compatibility_date": "2025-10-24",
"observability": { "compatibility_flags": [
"enabled": true "nodejs_compat"
} ],
/** "observability": {
"enabled": true
}
/**
* Smart Placement * Smart Placement
* Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement * Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
*/ */
// "placement": { "mode": "smart" } // "placement": { "mode": "smart" }
/** /**
* Bindings * Bindings
* Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including
* databases, object storage, AI inference, real-time communication and more. * databases, object storage, AI inference, real-time communication and more.
* https://developers.cloudflare.com/workers/runtime-apis/bindings/ * https://developers.cloudflare.com/workers/runtime-apis/bindings/
*/ */
/** /**
* Environment Variables * Environment Variables
* https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
*/ */
// "vars": { "MY_VARIABLE": "production_value" } // "vars": { "MY_VARIABLE": "production_value" }
/** /**
* Note: Use secrets to store sensitive data. * Note: Use secrets to store sensitive data.
* https://developers.cloudflare.com/workers/configuration/secrets/ * https://developers.cloudflare.com/workers/configuration/secrets/
*/ */
/** /**
* Static Assets * Static Assets
* https://developers.cloudflare.com/workers/static-assets/binding/ * https://developers.cloudflare.com/workers/static-assets/binding/
*/ */
// "assets": { "directory": "./public/", "binding": "ASSETS" } // "assets": { "directory": "./public/", "binding": "ASSETS" }
/** /**
* Service Bindings (communicate between multiple Workers) * Service Bindings (communicate between multiple Workers)
* https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
*/ */
// "services": [{ "binding": "MY_SERVICE", "service": "my-service" }] // "services": [{ "binding": "MY_SERVICE", "service": "my-service" }]
} }