Change default port to 8989 like Droppy. Using 8999 for backend in dev mode.

This commit is contained in:
Leo Vasanko
2026-02-01 06:09:56 +00:00
parent 1e207b38b7
commit 5c530652fa
5 changed files with 20 additions and 16 deletions
+2 -2
View File
@@ -6,10 +6,10 @@
* - Builds to the Python module's frontend-build directory
*
* Environment variables (with defaults):
* FASTAPI_VUE_BACKEND_URL=http://localhost:5180 - Backend API URL for proxying
* FASTAPI_VUE_BACKEND_URL=http://localhost:8999 - Backend API URL for proxying
*/
const backendUrl = process.env.FASTAPI_VUE_BACKEND_URL || "http://localhost:5180"
const backendUrl = process.env.FASTAPI_VUE_BACKEND_URL || "http://localhost:8999"
export default function fastapiVue({ paths = ["/api"] } = {}) {
// Build proxy configuration for each path