Files
Ansible-GUI-Small/rxconfig.py
jonnybravo a8b103e2c6 v.0.01
2026-07-20 17:16:55 +02:00

23 lines
777 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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=3000,
backend_port=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",
# 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", "man-dan-05"],
env=rx.Env.DEV,
)