mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-27 10:20:39 +01:00
feat: use globalThis.$fetch to call API handler directly on server-side
This commit is contained in:
@@ -5,7 +5,7 @@ import Module from '../src/module'
|
||||
export default defineNuxtConfig({
|
||||
modules: [Module],
|
||||
runtimeConfig: {
|
||||
baseURL: 'http://localhost:3000',
|
||||
baseURL: '',
|
||||
},
|
||||
typescript: {
|
||||
strict: true,
|
||||
|
||||
Reference in New Issue
Block a user