This commit is contained in:
jonnybravo
2026-07-20 16:20:15 +02:00
parent 23ef289075
commit aeb7626194
30 changed files with 585 additions and 98 deletions

View File

@@ -1,16 +1,20 @@
import reflex as rx
from reflex.plugins import SitemapPlugin
from reflex_components_radix.plugin import RadixThemesPlugin
config = rx.Config(
appearance="dark",
app_name="app",
frontend_port=8080,
backend_port=8081,
# Wichtig: Hier jetzt http:// statt https://
api_url="http://man-dan-05:8081",
# Sitemap-Warnung deaktivieren
frontend_port=3000,
backend_port=3001,
api_url="http://localhost:3001",
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"],
cors_credentials=True,
plugins=[RadixThemesPlugin()],
disable_plugins=[SitemapPlugin],
# Vite anweisen, den Hostnamen im Netzwerk zu akzeptieren
vite_allowed_hosts=["man-dan-05", "localhost", "127.0.0.1"]
vite_allowed_hosts=["localhost", "127.0.0.1"],
env=rx.Env.DEV,
)