Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-08-12 12:49:22 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1261916eaba4f3ceb12be3ccf05f537d78a0240c
1261916e
1 parent
eab538d2
refine the mount and dir to /console
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
trunk/src/app/srs_app_server.cpp
trunk/src/app/srs_app_server.cpp
查看文件 @
1261916
...
...
@@ -826,12 +826,12 @@ int SrsServer::http_handle()
// TODO: FIXME: for console.
// TODO: FIXME: support reload.
std
::
string
dir
=
_srs_config
->
get_http_stream_dir
()
+
"/
srs-
console"
;
std
::
string
dir
=
_srs_config
->
get_http_stream_dir
()
+
"/console"
;
if
((
ret
=
http_api_mux
->
handle
(
"/console/"
,
new
SrsHttpFileServer
(
dir
)))
!=
ERROR_SUCCESS
)
{
srs_error
(
"http: mount console dir=%s failed. ret=%d"
,
dir
.
c_str
(),
ret
);
return
ret
;
}
srs_trace
(
"http:
console mount
to %s"
,
dir
.
c_str
());
srs_trace
(
"http:
api mount /console
to %s"
,
dir
.
c_str
());
#endif
return
ret
;
...
...
请
注册
或
登录
后发表评论