use an env variable for proxy.
This commit is contained in:
@@ -76,7 +76,7 @@ export default {
|
|||||||
spa: "public/index.html",
|
spa: "public/index.html",
|
||||||
port: 5000,
|
port: 5000,
|
||||||
proxy: {
|
proxy: {
|
||||||
"/api/*": "localhost:8000",
|
"/api/*": process.env.API_PROXY_TARGET || "localhost:8000",
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user