feat: Initial login / logout API endpoints
This commit is contained in:
@@ -2,7 +2,7 @@ import { version, description } from "./package.json";
|
||||
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
modules: ["@lewebsimple/nuxt-graphql", "@nuxt/ui", "@nuxtjs/seo", "nuxt-svgo"],
|
||||
modules: ["@lewebsimple/nuxt-graphql", "@nuxt/ui", "@nuxtjs/seo", "nuxt-auth-utils", "nuxt-svgo"],
|
||||
|
||||
compatibilityDate: "2026-03-18",
|
||||
devtools: { enabled: true },
|
||||
@@ -35,6 +35,7 @@ export default defineNuxtConfig({
|
||||
},
|
||||
},
|
||||
server: {
|
||||
context: ["server/graphql/context.ts"],
|
||||
schema: [{ type: "remote", endpoint: `${process.env.NUXT_WP_URL}/graphql` }],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user