mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 17:29:11 +00:00
use const
This commit is contained in:
parent
647f1f0e2f
commit
7727989dbe
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user