From 1261916eaba4f3ceb12be3ccf05f537d78a0240c Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 12 Aug 2015 12:49:22 +0800 Subject: [PATCH] refine the mount and dir to /console --- trunk/src/app/srs_app_server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/src/app/srs_app_server.cpp b/trunk/src/app/srs_app_server.cpp index a32cdb601c..ace385252e 100755 --- a/trunk/src/app/srs_app_server.cpp +++ b/trunk/src/app/srs_app_server.cpp @@ -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;