Merge pull request #129 from b-rad15/master

Change html links to relative not absolute
This commit is contained in:
Maxim Devaev
2021-10-30 11:27:20 +03:00
committed by GitHub
2 changed files with 16 additions and 16 deletions

View File

@@ -12,30 +12,30 @@
<hr> <hr>
<ul> <ul>
<li> <li>
<a href="/state"><b>/state</b></a><br> <a href="state"><b>/state</b></a><br>
Get JSON structure with the state of the server. Get JSON structure with the state of the server.
</li> </li>
<br> <br>
<li> <li>
<a href="/snapshot"><b>/snapshot</b></a><br> <a href="snapshot"><b>/snapshot</b></a><br>
Get a current actual image from the server. Get a current actual image from the server.
</li> </li>
<br> <br>
<li> <li>
<a href="/stream"><b>/stream</b></a><br> <a href="stream"><b>/stream</b></a><br>
Get a live stream. Query params:<br> Get a live stream. Query params:<br>
<br> <br>
<ul> <ul>
<li> <li>
<b>key=abc123</b><br> <b>key=abc123</b><br>
The user-defined key, which is part of cookie <i>stream_client</i>, which allows<br> The user-defined key, which is part of cookie <i>stream_client</i>, which allows<br>
the stream client to determine its identifier and view statistics using <a href="/state">/state</a>. the stream client to determine its identifier and view statistics using <a href="state">/state</a>.
</li> </li>
<br> <br>
<li> <li>
<b>extra_headers=1</b><br> <b>extra_headers=1</b><br>
Add <i>X-UStreamer-*</i> headers to the <a href="/stream">/stream</a> handle Add <i>X-UStreamer-*</i> headers to the <a href="stream">/stream</a> handle
(like with the <a href="/snapshot">/snapshot</a>). (like with the <a href="snapshot">/snapshot</a>).
</li> </li>
<br> <br>
<li> <li>
@@ -62,9 +62,9 @@
The mjpg-streamer compatibility layer:<br> The mjpg-streamer compatibility layer:<br>
<br> <br>
<ul> <ul>
<li><a href="/?action=snapshot">/?action=snapshot</a> as alias to the <a href="/snapshot">/snapshot</a>.</li> <li><a href="?action=snapshot">/?action=snapshot</a> as alias to the <a href="snapshot">/snapshot</a>.</li>
<br> <br>
<li><a href="/?action=stream">/?action=stream</a> as alias to the <a href="/stream">/stream</a>.</li> <li><a href="?action=stream">/?action=stream</a> as alias to the <a href="stream">/stream</a>.</li>
</ul> </ul>
</li> </li>
</ul> </ul>

View File

@@ -37,30 +37,30 @@ const char *const HTML_INDEX_PAGE = " \
<hr> \ <hr> \
<ul> \ <ul> \
<li> \ <li> \
<a href=\"/state\"><b>/state</b></a><br> \ <a href=\"state\"><b>/state</b></a><br> \
Get JSON structure with the state of the server. \ Get JSON structure with the state of the server. \
</li> \ </li> \
<br> \ <br> \
<li> \ <li> \
<a href=\"/snapshot\"><b>/snapshot</b></a><br> \ <a href=\"snapshot\"><b>/snapshot</b></a><br> \
Get a current actual image from the server. \ Get a current actual image from the server. \
</li> \ </li> \
<br> \ <br> \
<li> \ <li> \
<a href=\"/stream\"><b>/stream</b></a><br> \ <a href=\"stream\"><b>/stream</b></a><br> \
Get a live stream. Query params:<br> \ Get a live stream. Query params:<br> \
<br> \ <br> \
<ul> \ <ul> \
<li> \ <li> \
<b>key=abc123</b><br> \ <b>key=abc123</b><br> \
The user-defined key, which is part of cookie <i>stream_client</i>, which allows<br> \ The user-defined key, which is part of cookie <i>stream_client</i>, which allows<br> \
the stream client to determine its identifier and view statistics using <a href=\"/state\">/state</a>. \ the stream client to determine its identifier and view statistics using <a href=\"state\">/state</a>. \
</li> \ </li> \
<br> \ <br> \
<li> \ <li> \
<b>extra_headers=1</b><br> \ <b>extra_headers=1</b><br> \
Add <i>X-UStreamer-*</i> headers to the <a href=\"/stream\">/stream</a> handle \ Add <i>X-UStreamer-*</i> headers to the <a href=\"stream\">/stream</a> handle \
(like with the <a href=\"/snapshot\">/snapshot</a>). \ (like with the <a href=\"snapshot\">/snapshot</a>). \
</li> \ </li> \
<br> \ <br> \
<li> \ <li> \
@@ -87,9 +87,9 @@ const char *const HTML_INDEX_PAGE = " \
The mjpg-streamer compatibility layer:<br> \ The mjpg-streamer compatibility layer:<br> \
<br> \ <br> \
<ul> \ <ul> \
<li><a href=\"/?action=snapshot\">/?action=snapshot</a> as alias to the <a href=\"/snapshot\">/snapshot</a>.</li> \ <li><a href=\"?action=snapshot\">/?action=snapshot</a> as alias to the <a href=\"snapshot\">/snapshot</a>.</li> \
<br> \ <br> \
<li><a href=\"/?action=stream\">/?action=stream</a> as alias to the <a href=\"/stream\">/stream</a>.</li> \ <li><a href=\"?action=stream\">/?action=stream</a> as alias to the <a href=\"stream\">/stream</a>.</li> \
</ul> \ </ul> \
</li> \ </li> \
</ul> \ </ul> \