From bedef4e17d87b7e662246d321dbcbb7910d3801f Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Sat, 25 Oct 2025 17:12:35 +0700 Subject: [PATCH] Update wrangler.jsonc --- wrangler.jsonc | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/wrangler.jsonc b/wrangler.jsonc index dc8fd09..05394ea 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -3,41 +3,44 @@ * https://developers.cloudflare.com/workers/wrangler/configuration/ */ { - "$schema": "node_modules/wrangler/config-schema.json", - "name": "google-play-scraper-worker", - "main": "src/index.js", - "compatibility_date": "2025-10-24", - "observability": { - "enabled": true - } - /** + "$schema": "node_modules/wrangler/config-schema.json", + "name": "google-play-scraper-worker", + "main": "src/index.js", + "compatibility_date": "2025-10-24", + "compatibility_flags": [ + "nodejs_compat" + ], + "observability": { + "enabled": true + } + /** * Smart Placement * Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement */ - // "placement": { "mode": "smart" } - /** + // "placement": { "mode": "smart" } + /** * Bindings * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including * databases, object storage, AI inference, real-time communication and more. * https://developers.cloudflare.com/workers/runtime-apis/bindings/ */ - /** + /** * 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. * https://developers.cloudflare.com/workers/configuration/secrets/ */ - /** + /** * Static Assets * https://developers.cloudflare.com/workers/static-assets/binding/ */ - // "assets": { "directory": "./public/", "binding": "ASSETS" } - /** + // "assets": { "directory": "./public/", "binding": "ASSETS" } + /** * Service Bindings (communicate between multiple Workers) * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings */ - // "services": [{ "binding": "MY_SERVICE", "service": "my-service" }] -} \ No newline at end of file + // "services": [{ "binding": "MY_SERVICE", "service": "my-service" }] +}