This commit is contained in:
itqop 2025-02-11 04:12:00 +03:00
parent a313ef1988
commit 64501606c0
1 changed files with 1 additions and 2 deletions

View File

@ -52,9 +52,8 @@ export default defineConfig({
port: 3000, port: 3000,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://127.0.0.1:4000', target: 'https://todou.net',
changeOrigin: true, changeOrigin: true,
ws: true
} }
}, },
allowedHosts: ['localhost', 'todou.net'] allowedHosts: ['localhost', 'todou.net']