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:
parent
0acb942c3a
commit
e50996270e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue