baseURL: '/web-app/', }, experimental: { payloadExtraction: false, //启用此选项时(默认情况下)提取使用nuxt generate生成的页面的有效负载 }, nitro: { routeRules: { '/api/': { proxy: 'https://112.222.222:80/api/', }, }, } }) Before se
user nuxt3, my settings in nuxt.config.ts are as follows: export default defineNuxtConfig({ app: { baseURL: '/h5/', }, nitro: { routeRules: { '/api/': { proxy: 'https://***/api/', }, } }, }) After setting the baseURL, all interfaces will be redirected with /h5/api...
Environment Operating System: Darwin Node Version: v20.12.2 Nuxt Version: 3.12.2 CLI Version: 3.12.0 Nitro Version: 2.9.7 Package Manager: pnpm@8.15.7 Builder: - User Config: runtimeConfig, app, vite, nitro, devtools, css, postcss, modul...
nitro.routeRules proxy path does not work properly after app.baseURL is set #10077 Sign in to view logs Summary Jobs reproduire Run details Usage Workflow file Triggered via issue March 4, 2025 11:22 nuxtbot labeled #31197 3ec1a1e Status Success Total duration 33s Artifacts – reproduir...