This commit is contained in:
@@ -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'),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user