summaryrefslogtreecommitdiff
path: root/http/cookie.ts
diff options
context:
space:
mode:
Diffstat (limited to 'http/cookie.ts')
-rw-r--r--http/cookie.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/cookie.ts b/http/cookie.ts
index 843f626f1..4d2704da1 100644
--- a/http/cookie.ts
+++ b/http/cookie.ts
@@ -59,7 +59,7 @@ function toString(cookie: Cookie): string {
out.push(`Path=${cookie.path}`);
}
if (cookie.expires) {
- let dateString = toIMF(cookie.expires);
+ const dateString = toIMF(cookie.expires);
out.push(`Expires=${dateString}`);
}
if (cookie.unparsed) {