removed useless awaits, listed ARL as secret in wrangler.toml
This commit is contained in:
parent
ce9fb730a2
commit
71987c020c
File diff suppressed because one or more lines are too long
6
index.js
6
index.js
|
@ -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) {
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue