mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 04:17:52 +00:00
fixed relative paths not working
This commit is contained in:
parent
d7aad205fa
commit
1652e2490a
@ -26,6 +26,13 @@ export default ({ mode }) => {
|
||||
secure: process.env.VITE_GPT4ALL_API_SECURE,
|
||||
rewrite: (path) => path.replace(/^\/api/, ""),
|
||||
},
|
||||
"/": {
|
||||
target: process.env.VITE_GPT4ALL_API,
|
||||
changeOrigin: process.env.VITE_GPT4ALL_API_CHANGE_ORIGIN,
|
||||
secure: process.env.VITE_GPT4ALL_API_SECURE,
|
||||
|
||||
},
|
||||
|
||||
},
|
||||
}
|
||||
})}
|
||||
|
Loading…
Reference in New Issue
Block a user