MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / clearCookie

Function clearCookie

apps/client/src/code/cookies.ts:3–8  ·  view source on GitHub ↗
(name: string, cookies?: Cookies)

Source from the content-addressed store, hash-verified

1import { Cookies } from 'quasar';
2
3export function clearCookie(name: string, cookies?: Cookies) {
4 (cookies ?? Cookies).remove(name, {
5 domain: process.env.HOST,
6 path: '/',
7 });
8}

Callers 2

index.tsFile · 0.90
logoutFunction · 0.90

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected