mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Fix target auto not working properly
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -1330,7 +1330,7 @@ std::string subconverter(RESPONSE_CALLBACK_ARGS)
|
||||
tribool argClashNewField = getUrlArg(argument, "new_name");
|
||||
int intSurgeVer = argSurgeVer.size() ? to_int(argSurgeVer, 3) : 3;
|
||||
if(argTarget == "auto")
|
||||
matchUserAgent(request.headers["X-User-Agent"], argTarget, argClashNewField, intSurgeVer);
|
||||
matchUserAgent(request.headers["User-Agent"], argTarget, argClashNewField, intSurgeVer);
|
||||
|
||||
switch(hash_(argTarget))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user