Change default port mapping to 8100/8200/8210 (prod/vite/dev). Vite gets different port to avoid caching problems when switching between it and prod.

This commit is contained in:
2026-08-21 02:49:18 +00:00
parent 462e995adc
commit 9c383c1c8b
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
*/
export default function fastapiVue({ paths = ["/api"] } = {}) {
const backendUrl = process.env.PAGERITE_BACKEND_URL || "http://localhost:3200"
const backendUrl = process.env.PAGERITE_BACKEND_URL || "http://localhost:8210"
// Build proxy configuration for each path
const proxy = {}
+1 -1
View File
@@ -6,7 +6,7 @@ import os
from fastapi_vue import server
DEFAULT_PORT = 3100
DEFAULT_PORT = 8100
DEVMODE = os.getenv("PAGERITE_DEV") == "1"
+2 -2
View File
@@ -19,8 +19,8 @@ from devutil import (
setup_vite,
)
DEFAULT_VITE_PORT = 3100
DEFAULT_DEV_PORT = 3200
DEFAULT_VITE_PORT = 8200
DEFAULT_DEV_PORT = 8210
HEALTH = "/?from=devserver.py"