This commit is contained in:
jonnybravo
2026-07-20 17:16:55 +02:00
parent ab91d5582d
commit a8b103e2c6
14 changed files with 383 additions and 120 deletions

View File

@@ -7,14 +7,16 @@ config = rx.Config(
app_name="app",
frontend_port=3000,
backend_port=3001,
api_url="http://localhost:3001",
# Absolute APIURL über Nginx mit Hostname
api_url="https://man-dan-05/api",
backend_host="0.0.0.0",
frontend_host="0.0.0.0",
backend_ws_url="ws://localhost:3001/ws",
cors_allowed_origins=["http://localhost:3000"],
# WebSocket über Nginx (wss) mit Hostname und Pfad /api/_event
backend_ws_url="wss://man-dan-05/api/_event",
cors_allowed_origins=["https://localhost", "http://localhost:3000", "https://man-dan-05"],
cors_credentials=True,
plugins=[RadixThemesPlugin()],
disable_plugins=[SitemapPlugin],
vite_allowed_hosts=["localhost", "127.0.0.1"],
vite_allowed_hosts=["localhost", "127.0.0.1", "man-dan-05"],
env=rx.Env.DEV,
)