Use dev port as default fallback in vite-plugin-fastapi, instead of default port. No effect on invocations via devserver script.
This commit is contained in:
1 parent
f483cf978c
commit
1ce0fffe3e
1 file changed
+1
-1
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
|
||||
export default function fastapiVue({ paths = ["/api"] } = {}) {
|
||||
const backendUrl = process.env.ENVPREFIX_BACKEND_URL || "http://localhost:TEMPLATE_DEFAULT_PORT"
|
||||
const backendUrl = process.env.ENVPREFIX_BACKEND_URL || "http://localhost:TEMPLATE_DEV_PORT"
|
||||
|
||||
// Build proxy configuration for each path
|
||||
const proxy = {}
|
||||
|
||||
Reference in new issue
Block a user