MCPcopy Create free account
hub / github.com/alanagoyal/docbase / remove

Function remove

utils/supabase/middleware.ts:36–52  ·  view source on GitHub ↗
(name: string, options: CookieOptions)

Source from the content-addressed store, hash-verified

34 })
35 },
36 remove(name: string, options: CookieOptions) {
37 request.cookies.set({
38 name,
39 value: '',
40 ...options,
41 })
42 response = NextResponse.next({
43 request: {
44 headers: request.headers,
45 },
46 })
47 response.cookies.set({
48 name,
49 value: '',
50 ...options,
51 })
52 },
53 },
54 }
55 )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected