Add LAN-friendly dev scripts and env examples
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user