From 76372cd34b3a6dc1f639eaa7ff76469612500859 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Sat, 12 Mar 2022 15:23:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A5=BDaddStreamProxy=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=8E=B7=E5=8F=96=E5=8F=82=E6=95=B0=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/WebApi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/WebApi.cpp b/server/WebApi.cpp index 53c75d45..b0538d16 100755 --- a/server/WebApi.cpp +++ b/server/WebApi.cpp @@ -488,7 +488,7 @@ void addStreamProxy(const string &vhost, const string &app, const string &stream template static void getArgsValue(const HttpAllArgs &allArgs, const string &key, Type &value) { - auto val = allArgs["key"]; + auto val = allArgs[key]; if (!val.empty()) { value = (Type)val; }