Rename status.json to status

This commit is contained in:
Kamil Trzcinski 2023-04-18 10:55:39 +02:00
parent a58e791a9b
commit c88d5c9b17
2 changed files with 9 additions and 1 deletions

View File

@ -103,7 +103,7 @@ http_method_t http_methods[] = {
{ "GET", "/webrtc", http_content, "text/html", html_webrtc_html, 0, &html_webrtc_html_len },
{ "POST", "/webrtc", http_webrtc_offer },
{ "GET", "/option", camera_http_option },
{ "GET", "/status.json", camera_status_json },
{ "GET", "/status", camera_status_json },
{ "GET", "/", http_content, "text/html", html_index_html, 0, &html_index_html_len },
{ "OPTIONS", "*/", http_cors_options },
{ }

View File

@ -67,6 +67,14 @@
</ul>
</li>
<br>
<li>
<a href="status"><b>/status</b></a><br>
<br>
<ul>
<li>See the JSON status of camera-streamer.</li>
</ul>
</li>
<br>
<li>
The mjpg-streamer compatibility layer:<br>
<br>