From 90fea290ba66013d22d91c30bcb789794d3a6352 Mon Sep 17 00:00:00 2001 From: bettafish Date: Sun, 13 Jun 2021 23:23:11 +0200 Subject: [PATCH] vweb: add path and domain fields to the Cookie struct --- vlib/vweb/vweb.v | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vlib/vweb/vweb.v b/vlib/vweb/vweb.v index 7d3adccbb0..e1498b91e2 100644 --- a/vlib/vweb/vweb.v +++ b/vlib/vweb/vweb.v @@ -90,6 +90,8 @@ pub struct Cookie { name string value string expires time.Time + path ?string + domain ?string secure bool http_only bool }