fix(bot): remove compat flag

This commit is contained in:
xHyroM 2023-04-08 10:56:57 +02:00
parent ddd862f7af
commit 5cb18619ad
No known key found for this signature in database
GPG key ID: BE0423F386C436AA
2 changed files with 1 additions and 2 deletions

View file

@ -4,7 +4,7 @@
"type": "module",
"scripts": {
"build": "node scripts/build.mjs",
"dev": "miniflare --watch --debug --compat-flag nodejs_compat --port 8787",
"dev": "miniflare --watch --debug --port 8787",
"dev:tunnel": "cloudflared tunnel --url localhost:8787/",
"deploy": "cross-env NODE_ENV=production wrangler publish"
},

View file

@ -2,7 +2,6 @@ name = "roles-bot"
type = "javascript"
account_id = "294bee38d448e390dab3757215c63f03"
compatibility_date = "2022-07-12"
compatibility_flags = [ "nodejs_compat" ]
main = "dist/worker.mjs"