Skip to content

Commit ed0d23b

Browse files
committed
Changed default cookie path to /
1 parent eef0edf commit ed0d23b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/dev/latvian/apps/tinyserver/http/response/CookieResponse.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public static class Builder {
88
private int maxAge = -2;
99
private boolean httpOnly = false;
1010
private boolean partitioned = false;
11-
private String path = null;
11+
private String path = "/";
1212
private String sameSite = null;
1313
private boolean secure = false;
1414
private String comment = null;

0 commit comments

Comments
 (0)