diff --git a/app/_lib/session.ts b/app/_lib/session.ts index e81b6b2..6e6b545 100644 --- a/app/_lib/session.ts +++ b/app/_lib/session.ts @@ -34,7 +34,6 @@ export async function createSession(userId: string) { cookieStore.set('session', session, { httpOnly: true, - secure: true, expires: expiresAt, sameSite: 'lax', path: '/', @@ -53,7 +52,6 @@ export async function updateSession() { const cookieStore = await cookies() cookieStore.set('session', session, { httpOnly: true, - secure: true, expires: expires, sameSite: 'lax', path: '/', diff --git a/app/_ui/LinkListBox.tsx b/app/_ui/LinkListBox.tsx index b9e05af..9736fda 100644 --- a/app/_ui/LinkListBox.tsx +++ b/app/_ui/LinkListBox.tsx @@ -40,7 +40,6 @@ export default function LinkListBox({ linkTypeList, linkList, showHot, showRecen } }, [linkTypeList, setSelectSubType]) useEffect(() => { - console.log(currentId); if (currentId) { // 根据 targetId 查找对应的元素