куча говна
All checks were successful
Deploy / deploy (push) Successful in 47s

This commit is contained in:
Никита Круглицкий
2025-10-20 03:23:34 +06:00
parent fe205531e0
commit 39e877bbe9
3 changed files with 5 additions and 4 deletions

View File

@@ -38,9 +38,10 @@ export default defineNuxtConfig({
strictPort: true,
proxy: {
'/api': {
target: 'http://localhost:4000',
// target: 'http://localhost:4000',
target: 'https://api.koptilnya.xyz',
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''),
rewrite: path => path.replace(/^\/api/, '/chad'),
},
},
},