From b9adf420c9114275b9fba2b4a13a87df5892c7fb Mon Sep 17 00:00:00 2001 From: Lucy Date: Sat, 16 May 2026 12:50:51 +0200 Subject: [PATCH] Remove config.json from repo, move to gitignore. Change api_host to 10.0.1.2 --- .gitignore | 2 ++ config.json | 23 ----------------------- config.py | 2 +- 3 files changed, 3 insertions(+), 24 deletions(-) delete mode 100644 config.json diff --git a/.gitignore b/.gitignore index 5dc0fbb..71eb587 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,5 @@ Thumbs.db # Project-specific bridge-state.json *.log + +config.json diff --git a/config.json b/config.json deleted file mode 100644 index dc496fa..0000000 --- a/config.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "matrix": { - "server": "matrix.daedalus706.de", - "user_id": "@lucy:matrix.daedalus706.de", - "room_id": "!8zLJacfaL2WYoYVp:matrix.daedalus706.de", - "credentials_file": "/home/admin/auth/matrix-credentials.txt" - }, - "agent": { - "base_url": "http://10.0.1.2:8080" - }, - "bridge": { - "poll_interval_seconds": 1, - "state_file": "/home/admin/agent-dir/bridge-state.json", - "matrix_poll_timeout": 0, - "agent_timeout_seconds": 30, - "agent_retries": 3, - "max_message_length": 40000, - "processed_ids_limit": 200, - "agent_response_timeout": 300, - "api_host": "127.0.0.1", - "api_port": 8082 - } -} diff --git a/config.py b/config.py index 049cadf..f43e81d 100644 --- a/config.py +++ b/config.py @@ -37,7 +37,7 @@ class BridgeConfig: max_message_length: int = 40000 processed_ids_limit: int = 200 agent_response_timeout: int = 300 - api_host: str = "127.0.0.1" + api_host: str = "10.0.1.2" api_port: int = 8082