format code
This commit is contained in:
parent
b528ae86fd
commit
021380b6f3
2 changed files with 3 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ const apiRoutes = ["^/api/v1/", "/health"];
|
|||
// Use environment variable to determine the target.
|
||||
const target = process.env.VITE_PROXY_TARGET || "http://127.0.0.1:7860";
|
||||
|
||||
// Use environment variable to determine the UI server port
|
||||
// Use environment variable to determine the UI server port
|
||||
const port = process.env.VITE_PORT || 3000;
|
||||
|
||||
const proxyTargets = apiRoutes.reduce((proxyObj, route) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue