diff --git a/vite.config.ts b/vite.config.ts index 527cd42..7f46f3c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -52,9 +52,8 @@ export default defineConfig({ port: 3000, proxy: { '/api': { - target: 'http://127.0.0.1:4000', + target: 'https://todou.net', changeOrigin: true, - ws: true } }, allowedHosts: ['localhost', 'todou.net']