mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
support vhost for http flv.
This commit is contained in:
parent
dd21eee7f0
commit
c31a546eec
1 changed files with 0 additions and 4 deletions
|
@ -800,10 +800,6 @@ int SrsHttpStreamServer::http_mount(SrsSource* s, SrsRequest* r)
|
|||
|
||||
// remove the default vhost mount
|
||||
mount = srs_string_replace(mount, SRS_CONSTS_RTMP_DEFAULT_VHOST"/", "/");
|
||||
// TODO: FIXME: check match
|
||||
if (mount.at(0) != '/') {
|
||||
mount = "/" + mount;
|
||||
}
|
||||
|
||||
entry = new SrsLiveEntry(mount, tmpl->hstrs);
|
||||
|
||||
|
|
Loading…
Reference in a new issue