removed useless awaits, listed ARL as secret in wrangler.toml

This commit is contained in:
uh wot 2021-12-04 22:10:24 +01:00
parent ce9fb730a2
commit 71987c020c
Signed by: uhwot
GPG Key ID: CB2454984587B781
3 changed files with 10 additions and 8 deletions

6
dist/worker.js vendored

File diff suppressed because one or more lines are too long

View File

@ -336,12 +336,12 @@ async function pipeDecryptedStream(writer, body, length, cipher) {
cipher.decrypt_chunk(chunk)
}
await writer.write(chunk)
writer.write(chunk)
byteCount += 2048
}
await reader.cancel()
await writer.close()
reader.cancel()
writer.close()
}
function legacy_track_url(json, format, url_func) {

View File

@ -6,5 +6,7 @@ workers_dev = true
kv_namespaces = [
{ binding = "KV", id = "974c0967a84e415daa054bbbcc7f80c6", preview_id = "cfcc6491f3484cbca664913836635113" }
]
vars = { ARL = "amogus" }
compatibility_date = "2021-12-03"
compatibility_date = "2021-12-04"
# [secrets]
# ARL