use const

This commit is contained in:
syumai 2024-01-03 00:20:04 +09:00
parent 647f1f0e2f
commit 7727989dbe

View File

@ -10,7 +10,7 @@ export class Counter {
// Handle HTTP requests from clients.
async fetch(request) {
// Apply requested action.
let url = new URL(request.url);
const url = new URL(request.url);
// Durable Object storage is automatically cached in-memory, so reading the
// same key every request is fast. (That said, you could also store the