1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #1657, Fix utest fail

This commit is contained in:
winlin 2020-11-06 15:24:37 +08:00
parent 272ca9d0f6
commit faf53927e8

View file

@ -7741,6 +7741,10 @@ bool SrsConfig::get_https_api_enabled(SrsConfDirective* conf)
{
static bool DEFAULT = false;
if (!conf) {
return DEFAULT;
}
conf = conf->get("enabled");
if (!conf) {
return DEFAULT;