Files
Ansible-GUI-Small/rxconfig.py
jonnybravo aeb7626194 2
2026-07-20 16:20:15 +02:00

21 lines
596 B
Python

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,
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_allowed_hosts=["localhost", "127.0.0.1"],
env=rx.Env.DEV,
)