change protocol

This commit is contained in:
smanylov
2025-12-04 15:48:12 +07:00
parent b42aea1a54
commit f01847e75d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ export async function createSession(token: string, email: string) {
cookieStore.set('session', session, {
httpOnly: true,
secure: true,
secure: false,
expires: expiresAt,
sameSite: 'lax',
path: '/',
+1 -1
View File
@@ -95,7 +95,7 @@ export default function UserMenuButton() {
</div>
<div className="user-menu-footer">
<Link href="/logout" className="user-menu-logout">
<Link href="/" className="user-menu-logout">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z"></path>
</svg>