This commit is contained in:
expdsn 2025-03-04 17:46:22 +08:00
parent 63feb39dee
commit c03d8fc4b2
2 changed files with 0 additions and 3 deletions

View File

@ -34,7 +34,6 @@ export async function createSession(userId: string) {
cookieStore.set('session', session, { cookieStore.set('session', session, {
httpOnly: true, httpOnly: true,
secure: true,
expires: expiresAt, expires: expiresAt,
sameSite: 'lax', sameSite: 'lax',
path: '/', path: '/',
@ -53,7 +52,6 @@ export async function updateSession() {
const cookieStore = await cookies() const cookieStore = await cookies()
cookieStore.set('session', session, { cookieStore.set('session', session, {
httpOnly: true, httpOnly: true,
secure: true,
expires: expires, expires: expires,
sameSite: 'lax', sameSite: 'lax',
path: '/', path: '/',

View File

@ -40,7 +40,6 @@ export default function LinkListBox({ linkTypeList, linkList, showHot, showRecen
} }
}, [linkTypeList, setSelectSubType]) }, [linkTypeList, setSelectSubType])
useEffect(() => { useEffect(() => {
console.log(currentId);
if (currentId) { if (currentId) {
// 根据 targetId 查找对应的元素 // 根据 targetId 查找对应的元素