eptm_dashboard/rxconfig.py
2026-05-08 00:34:51 +02:00

22 lines
638 B
Python

import os
import reflex as rx
from reflex_base.plugins.sitemap import SitemapPlugin
config = rx.Config(
app_name="eptm_dashboard",
api_url=os.getenv("API_URL", "http://eptm-automation.ch:8000"),
frontend_port=int(os.getenv("FRONTEND_PORT", "3000")),
backend_port=int(os.getenv("BACKEND_PORT", "8000")),
vite_allowed_hosts=True,
plugins=[
rx.plugins.RadixThemesPlugin(
theme=rx.theme(
appearance="inherit",
accent_color="red",
radius="medium",
scaling="95%",
)
),
],
disable_plugins=[SitemapPlugin],
)