v.0.01
This commit is contained in:
10
rxconfig.py
10
rxconfig.py
@@ -7,14 +7,16 @@ config = rx.Config(
|
||||
app_name="app",
|
||||
frontend_port=3000,
|
||||
backend_port=3001,
|
||||
api_url="http://localhost:3001",
|
||||
# Absolute API‑URL ü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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user