diff --git a/src/main/java/org/takes/facets/flash/RsFlash.java b/src/main/java/org/takes/facets/flash/RsFlash.java index 1e8d0d6c8..993ffc130 100644 --- a/src/main/java/org/takes/facets/flash/RsFlash.java +++ b/src/main/java/org/takes/facets/flash/RsFlash.java @@ -127,7 +127,7 @@ public RsFlash(final String msg, final Level level, final String cookie) { .append(level.getName()) .toString() .getBytes(Charset.defaultCharset()) - ), + ), "Path=/", String.format( Locale.ENGLISH, @@ -135,8 +135,8 @@ public RsFlash(final String msg, final Level level, final String cookie) { new Date( System.currentTimeMillis() + TimeUnit.HOURS.toMillis(1L) ) + ) ) - ) ); } }