diff --git a/src/core.ts b/src/core.ts index f7484da..2b67448 100644 --- a/src/core.ts +++ b/src/core.ts @@ -3,7 +3,7 @@ import type { H3Event } from 'h3' export type DefineProxyPartyHandler = (event: H3Event) => void export interface ProxyParty { - name: string + name?: string baseUrl: string target: string handler?: DefineProxyPartyHandler diff --git a/src/module.ts b/src/module.ts index e536c65..f1af812 100644 --- a/src/module.ts +++ b/src/module.ts @@ -14,9 +14,6 @@ export default defineNuxtModule({ nuxt: '^3.0.0', }, }, - defaults: { - csrf: true, - }, async setup(_options, nuxt) { const resolver = createResolver(import.meta.url)