chore: point test config to new middleware

This commit is contained in:
richjohnrambo
2026-09-14 13:58:08 +08:00
parent 1c7417b8f3
commit 8f849efc25
3 changed files with 11 additions and 11 deletions
+5 -5
View File
@@ -81,7 +81,7 @@
"use_adapter": "mysql",
"adapters": {
"mysql": {
"dsn": "mysql://root:oWxz*2=sb),ouW%p@tcp(64.118.137.182:53306)/tinode?parseTime=true&collation=utf8mb4_0900_ai_ci",
"dsn": "mysql://root:oWxz*2=sb),ouW%p@tcp(mysql.118im.com:30306)/tinode?parseTime=true&collation=utf8mb4_0900_ai_ci",
"tenant_registry_db": "hotgo",
"tenant_db_routing": true,
"max_open_conns": 64,
@@ -91,7 +91,7 @@
}
},
"redis": {
"addr": "64.118.137.182:56379",
"addr": "redis.118im.com:30637",
"username": "",
"password": "HMTJzkm.h>Y+E9ep",
"db": 0,
@@ -112,7 +112,7 @@
"kafka": {
"enabled": true,
"brokers": ["64.118.137.182:9094"],
"brokers": ["kafka.118im.com:30835"],
"client_id": "im-server",
"consumer_group": "im-server",
"dial_timeout_ms": 3000,
@@ -167,7 +167,7 @@
"add_to_tags": false,
"required": [],
"config": {
"host_url": "http://64.118.137.182:6060/",
"host_url": "https://api.118im.com/",
"sender": "MeetingIM <noreply@118im.com>",
"validation_templ": "server/templ/email-validation-en.templ",
"reset_secret_templ": "server/templ/email-password-reset-en.templ",
@@ -179,7 +179,7 @@
"add_to_tags": false,
"required": [],
"config": {
"host_url": "http://64.118.137.182:6060/",
"host_url": "https://api.118im.com/",
"sender": "MeetingIM",
"universal_templ": "server/templ/sms-universal-en.templ",
"debug_response": "123456",
+5 -5
View File
@@ -81,7 +81,7 @@
"use_adapter": "mysql",
"adapters": {
"mysql": {
"dsn": "mysql://root:oWxz*2=sb),ouW%p@tcp(64.118.137.182:53306)/tinode?parseTime=true&collation=utf8mb4_0900_ai_ci",
"dsn": "mysql://root:oWxz*2=sb),ouW%p@tcp(mysql.118im.com:30306)/tinode?parseTime=true&collation=utf8mb4_0900_ai_ci",
"tenant_registry_db": "hotgo",
"tenant_db_routing": true,
"max_open_conns": 64,
@@ -91,7 +91,7 @@
}
},
"redis": {
"addr": "64.118.137.182:56379",
"addr": "redis.118im.com:30637",
"username": "",
"password": "HMTJzkm.h>Y+E9ep",
"db": 0,
@@ -112,7 +112,7 @@
"kafka": {
"enabled": true,
"brokers": ["64.118.137.182:9094"],
"brokers": ["kafka.118im.com:30835"],
"client_id": "im-server",
"consumer_group": "im-server",
"dial_timeout_ms": 3000,
@@ -167,7 +167,7 @@
"add_to_tags": false,
"required": [],
"config": {
"host_url": "http://64.118.137.182:6060/",
"host_url": "https://api.118im.com/",
"sender": "MeetingIM <noreply@118im.com>",
"validation_templ": "server/templ/email-validation-en.templ",
"reset_secret_templ": "server/templ/email-password-reset-en.templ",
@@ -179,7 +179,7 @@
"add_to_tags": false,
"required": [],
"config": {
"host_url": "http://64.118.137.182:6060/",
"host_url": "https://api.118im.com/",
"sender": "MeetingIM",
"universal_templ": "server/templ/sms-universal-en.templ",
"debug_response": "123456",
+1 -1
View File
@@ -10,7 +10,7 @@
},
"mysql": {
"database": "tinode",
"dsn": "mysql://root:oWxz*2=sb),ouW%p@tcp(64.118.137.182:53306)/tinode?parseTime=true&collation=utf8mb4_0900_ai_ci",
"dsn": "mysql://root:oWxz*2=sb),ouW%p@tcp(mysql.118im.com:30306)/tinode?parseTime=true&collation=utf8mb4_0900_ai_ci",
"tenant_registry_db": "hotgo",
"tenant_db_routing": true
},