fix the config parse error.
This commit is contained in:
parent
0acb942c3a
commit
e50996270e
|
|
@ -2570,7 +2570,7 @@ bool SrsConfig::get_vhost_is_edge(SrsConfDirective* vhost)
|
||||||
return SRS_CONF_DEFAULT_EDGE_MODE;
|
return SRS_CONF_DEFAULT_EDGE_MODE;
|
||||||
}
|
}
|
||||||
|
|
||||||
return SRS_CONF_PERFER_FALSE(conf->arg0());
|
return conf->arg0() == "remote";
|
||||||
}
|
}
|
||||||
|
|
||||||
SrsConfDirective* SrsConfig::get_vhost_edge_origin(string vhost)
|
SrsConfDirective* SrsConfig::get_vhost_edge_origin(string vhost)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user