diff --git a/nuxt.config.ts b/nuxt.config.ts index 6aab32b..e06b399 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -19,7 +19,6 @@ export default defineNuxtConfig({ "nuxt-icon", "@vee-validate/nuxt", "@morev/vue-transitions/nuxt", - "@sidebase/nuxt-auth" ], runtimeConfig: { @@ -67,10 +66,17 @@ export default defineNuxtConfig({ transpile: ["vue-sonner"] }, - auth : { - baseURL: process.env.AUTH_ORIGIN, - provider : { - type: 'authjs' - }, + devServer: { + https: { + key: './server.key', + cert: './server.crt' + } } + + // auth : { + // baseURL: process.env.AUTH_ORIGIN, + // provider : { + // type: 'authjs' + // }, + // } }); \ No newline at end of file diff --git a/pages/index.vue b/pages/index.vue index 403c468..3334c9d 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,7 +1,7 @@ diff --git a/server/api/auth/[...].ts b/server/api/auth/[...].ts deleted file mode 100644 index 6b8a12e..0000000 --- a/server/api/auth/[...].ts +++ /dev/null @@ -1,7 +0,0 @@ -// import {NuxtAuthHandler} from '#auth' -// import CreadentialsProvider from 'next-auth/provider/creadentials' - - -// export default NuxtAuthHandler({ -// secret : userRuntimeConfig(). -// }); \ No newline at end of file