Skip to content

Commit

Permalink
refine the mount and dir to /console
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Aug 12, 2015
1 parent eab538d commit 1261916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trunk/src/app/srs_app_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1261916

Please # to comment.