Add LAN-friendly dev scripts and env examples

This commit is contained in:
Abhimanyu Saharan
2026-02-01 22:31:42 +05:30
parent 3e4a6cf441
commit 01c8a64a6d
3 changed files with 12 additions and 2 deletions

View File

@@ -1,2 +1,7 @@
# Example config for local/dev.
#
# If you plan to access the app from another device (via machine IP),
# set CORS_ORIGINS to include that frontend origin too.
DATABASE_URL=postgresql+psycopg2://postgres:CHANGE_ME@127.0.0.1:5432/openclaw_agency
CORS_ORIGINS=http://localhost:3000
CORS_ORIGINS=http://localhost:3000,http://<YOUR_MACHINE_IP>:3000