Skip to content

Commit 592978b

Browse files
committed
Upgrading Wrangler
1 parent e308fa5 commit 592978b

File tree

3 files changed

+204
-16
lines changed

3 files changed

+204
-16
lines changed

package-lock.json

+202-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
"@cloudflare/workers-types": "^4.20240806.0",
1515
"typescript": "^5.5.2",
1616
"vitest": "1.5.0",
17-
"wrangler": "^3.60.3"
17+
"wrangler": "^3.72.0"
1818
}
1919
}

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { handleOptions, responseWithAllowOrigin } from "./cors";
2121
* @param url
2222
* @returns
2323
*/
24-
async function handleConversionLog(request: Request<unknown, IncomingRequestCfProperties<unknown>>, env: Env, ctx: ExecutionContext, url: URL) {
24+
async function handleConversionLog(request: Request<unknown, IncomingRequestCfProperties<unknown>>, env: Env, ctx: ExecutionContext, url: URL): Promise<Response> {
2525
const requestID = new Date().toISOString().substring(0, 19).replaceAll('-', '/').replaceAll('T', '/').replaceAll(':', '') + '--' + crypto.randomUUID();
2626
const loggingEnabled = Math.random() < env.LZ_LOG_SAMPLE_RATE;
2727

0 commit comments

Comments
 (0)