From 3ccd2255fb58a5699a1f01049557b7763db10e59 Mon Sep 17 00:00:00 2001 From: hailin Date: Wed, 30 Jul 2025 00:09:26 +0800 Subject: [PATCH] . --- php_pc/nuxt.config.ts | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/php_pc/nuxt.config.ts b/php_pc/nuxt.config.ts index 7c6d502..44f08c3 100644 --- a/php_pc/nuxt.config.ts +++ b/php_pc/nuxt.config.ts @@ -47,6 +47,11 @@ export default defineNuxtConfig({ nitro: { externals: {inline: ['@matechat/core']}, preset: 'node-server', + routeRules: { + '/api/**': { + proxy: 'https://superai.luxe/api/' + } + }, prerender: { routes: [], crawlLinks: false, @@ -78,14 +83,4 @@ export default defineNuxtConfig({ devServer: { host: '0.0.0.0' }, - // appConfig: { - // pageIgnorePatterns: [ - // '**/_*/**', - // '**/_*.*' - // ] - // }, - // ignore: [ - // 'src/pages/**/_*/**', - // 'src/pages/**/_*.*' - // ], });