mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-09 03:18:04 +00:00
Merge branch 'main' of https://github.com/supermemoryai/supermemory
This commit is contained in:
commit
a6890ccab0
1 changed files with 7 additions and 1 deletions
|
|
@ -42,7 +42,13 @@ export default async function middleware(request: Request) {
|
|||
|
||||
console.debug("[MIDDLEWARE] Passing through to next handler")
|
||||
console.debug("[MIDDLEWARE] === MIDDLEWARE END ===")
|
||||
return NextResponse.next()
|
||||
const response = NextResponse.next()
|
||||
response.cookies.set({
|
||||
name: "last-site-visited",
|
||||
value: "https://app.supermemory.ai",
|
||||
domain: "supermemory.ai",
|
||||
})
|
||||
return response
|
||||
}
|
||||
|
||||
export const config = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue