{
"name": "test-patch",
"version": "0.0.0",
"private": true,
"scripts": {
"deploy": "wrangler deploy",
"dev": "wrangler dev",
"start": "wrangler dev",
"test": "vitest",
"cf-typegen": "wrangler types",
"migration:generate": "drizzle-kit generate"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.4.5",
"@cloudflare/workers-types": "^4.20240806.0",
"@eslint/js": "^9.9.0",
"drizzle-kit": "^0.24.0",
"eslint": "^9.9.0",
"globals": "^15.9.0",
"typescript": "^5.5.2",
"typescript-eslint": "^8.1.0",
"vitest": "1.5.0",
"wrangler": "^3.60.3"
},
"dependencies": {
"@bogeychan/elysia-logger": "^0.1.1",
"@elysiajs/cors": "^1.1.0",
"@elysiajs/swagger": "1.0.5",
"drizzle-orm": "^0.33.0",
"elysia": "^1.1.6"
}
}```
### What is the expected behavior?
200 : 'PATCH>>>>'
### What do you see instead?
501: ERROR: Unrecognized request method.
### Additional information
1. If you change it to put request without changing the code, the request goes.
2. If you send a PATCH request using another API test tool, the request is successful.
3. I sent the request after updating miniflare, pointing out that the patch request did not go from cloudFlare miniflare, but there was no response the same.
4. I've sent a request to another test router, but the same response.
### Have you try removing the `node_modules` and `bun.lockb` and try again yet?
yes
What version of Elysia is running?
1.0.5 / latest version
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
======