fix: fix Docker dev proxy and handle non-JSON error responses in frontend
This commit is contained in:
@@ -7,7 +7,7 @@ export default defineConfig({
|
||||
server: {
|
||||
port: 5173,
|
||||
proxy: {
|
||||
'/api': 'http://localhost:3000',
|
||||
'/api': process.env.API_URL || 'http://localhost:3000',
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user