diff --git a/gateway/Makefile b/gateway/Makefile index e144517..7e9e18d 100644 --- a/gateway/Makefile +++ b/gateway/Makefile @@ -3,7 +3,7 @@ APP_NAME := gateway INSTL_DIR := /usr/local/bin CPP := g++ INCS := -I inc/ -MY_LIBS := -L/usr/lib -lus_http -lus_crypt +MY_LIBS := -L/usr/lib -lus_http -lus_httpclient -lus_crypt LIBS := -pthread -lcurl -lssl -lsqlite3 -lz -lcrypto -lboost_json -lboost_program_options CPPFLAGS := --std=c++20 -pipe -pthread # -Wall -Werror BUILD_DIR = build diff --git a/gateway/example.ini b/gateway/example.ini index 371b5d6..495f72f 100644 --- a/gateway/example.ini +++ b/gateway/example.ini @@ -40,4 +40,4 @@ path = sqlite3.db # 仅 Token 中 is_admin=true 的用户才能升级连接;非管理员或无 Token 直接拒绝。 # 支持 ws:// 和 wss:// 后端 # 示例:routes = /ws/aibox=ws://127.0.0.1:8765;/ws/other=wss://example.com/ws -routes = +routes = /ws/aibox=ws://127.0.0.1:8765;