mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-05 03:02:06 +00:00
Fix remote file cannot be fetched
This commit is contained in:
2 files changed
+1
-3
No files matched your search
@@ -220,7 +220,7 @@ int render_template(const std::string &content, const template_args &vars, std::
|
||||
{
|
||||
return std::to_string(args.at(0)->get<int>());
|
||||
});
|
||||
#ifdef NO_WEBGET
|
||||
#ifndef NO_WEBGET
|
||||
env.add_callback("fetch", 1, template_webGet);
|
||||
#endif // NO_WEBGET
|
||||
//env.add_callback("parseHostname", 1, parseHostname);
|
||||
|
||||
Reference in new issue
Block a user