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

fix the config parse error.

This commit is contained in:
winlin 2015-04-23 16:25:49 +08:00
parent 0acb942c3a
commit e50996270e

View file

@ -2570,7 +2570,7 @@ bool SrsConfig::get_vhost_is_edge(SrsConfDirective* vhost)
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)