Эталоны
This commit is contained in:
@@ -18,7 +18,8 @@ export default defineConfig({
|
||||
port: 80, // Явно указать порт (по умолчанию 5173)
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://192.169.0.163:8000',
|
||||
//192.168.2.66
|
||||
target: 'http://localhost:8000',
|
||||
changeOrigin: true,
|
||||
rewrite: path => path.replace(/^\/api/, ''),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user