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:
2026-02-11 18:15:57 +00:00
parent f483cf978c
commit 1ce0fffe3e
+1 -1
View File
@@ -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 = {}