mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 18:24:58 +00:00
Enhancements
Fix a typo which cause the server to hang. Add option to enable reload pref config on request. Optimize codes.
This commit is contained in:
7 files changed
+26
-15
No files matched your search
@@ -323,7 +323,7 @@ std::string subconverter(RESPONSE_CALLBACK_ARGS)
|
||||
return "Invalid target!";
|
||||
}
|
||||
//check if we need to read configuration
|
||||
if((!global.APIMode || global.CFWChildProcess) && !global.generatorMode)
|
||||
if(global.reloadConfOnRequest && (!global.APIMode || global.CFWChildProcess) && !global.generatorMode)
|
||||
readConf();
|
||||
|
||||
/// string values
|
||||
|
||||
Reference in new issue
Block a user