generated from bisco/codex-bootstrap
fix: proxy frontend API requests to backend
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"/api": {
|
||||
"target": "http://backend:8000",
|
||||
"secure": false,
|
||||
"changeOrigin": false
|
||||
},
|
||||
"/api-auth": {
|
||||
"target": "http://backend:8000",
|
||||
"secure": false,
|
||||
"changeOrigin": false
|
||||
},
|
||||
"/admin": {
|
||||
"target": "http://backend:8000",
|
||||
"secure": false,
|
||||
"changeOrigin": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user