``` //nuxt.config.ts modules: [ '@vueuse/nuxt', '@pinia/nuxt', '@nuxtjs/color-mode', 'nuxt-proxy', ], proxy: { options: { target: 'https://localhost:8100', changeOrigin: true, pathRewrite: { '^/api/': '/', }, pathFilter: [ '/api/', ], }, }, ``` ``` //~/api/auth.ts getInfo() { return useFetch('/api/auth/auth-member/info', { method: 'GET', headers: { Authorization: useCookie('token').value, }, }) }, ``` 