正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -826,12 +826,12 @@ int SrsServer::http_handle() | @@ -826,12 +826,12 @@ int SrsServer::http_handle() | ||
| 826 | 826 | ||
| 827 | // TODO: FIXME: for console. | 827 | // TODO: FIXME: for console. |
| 828 | // TODO: FIXME: support reload. | 828 | // TODO: FIXME: support reload. |
| 829 | - std::string dir = _srs_config->get_http_stream_dir() + "/srs-console"; | 829 | + std::string dir = _srs_config->get_http_stream_dir() + "/console"; |
| 830 | if ((ret = http_api_mux->handle("/console/", new SrsHttpFileServer(dir))) != ERROR_SUCCESS) { | 830 | if ((ret = http_api_mux->handle("/console/", new SrsHttpFileServer(dir))) != ERROR_SUCCESS) { |
| 831 | srs_error("http: mount console dir=%s failed. ret=%d", dir.c_str(), ret); | 831 | srs_error("http: mount console dir=%s failed. ret=%d", dir.c_str(), ret); |
| 832 | return ret; | 832 | return ret; |
| 833 | } | 833 | } |
| 834 | - srs_trace("http: console mount to %s", dir.c_str()); | 834 | + srs_trace("http: api mount /console to %s", dir.c_str()); |
| 835 | #endif | 835 | #endif |
| 836 | 836 | ||
| 837 | return ret; | 837 | return ret; |
-
请 注册 或 登录 后发表评论