MPTres
84469dcd25
CORS. Add support for OPTIONS requests.
2023-12-04 17:14:18 +01:00
Sergey Krashevich
7ac5b4f114
Ensure exit code is within valid range
...
The exitHandler function now properly validates the exit code provided
in the query string. It checks for conversion errors and ensures the
code is within the valid range of 0 to 125. If the validation fails,
it responds with an HTTP 400 Bad Request error. This prevents potential
misuse of the exit endpoint by restricting the exit codes to expected
values.
2023-11-29 10:03:39 +03:00
Alex X
43449e7b08
Fix api port for homekit module
2023-11-18 11:48:19 +03:00
Alex X
28830a697d
Add support unix socket for api module
2023-11-12 21:50:29 +03:00
Alex X
39645cb3d8
Remove unnecessary 0.0.0.0 from listeners
2023-11-03 12:45:40 +03:00
Alex X
36ee2b29fb
Update TLS files handling
2023-10-14 15:51:43 +03:00
Alex X
3ae15d8f80
Add support TLS cert/key as file path #680
2023-10-11 11:50:30 +03:00
Alex X
9a2e9dd6d1
Add support /api/restart #652
2023-10-09 17:12:25 +03:00
Alexey Khit
9f404d965f
Rewrite HomeKit pairing API
2023-09-01 22:48:06 +03:00
Alexey Khit
0621b82aff
Change response sources API
2023-09-01 22:32:49 +03:00
Alexey Khit
69da64a49c
Rename streams to sources in the discovery API
2023-09-01 10:17:58 +03:00
Alexey Khit
189f142fae
Restore IPv6 support for API and RTSP #532
2023-07-20 22:09:11 +03:00
Alexey Khit
e4b68518e5
Remove all listeners from IPv6 interface
2023-07-17 18:28:15 +03:00
Alexey Khit
bc6e4f40bf
Code refactoring after #352
2023-06-29 21:39:31 +03:00
Alexey Khit
ac5bcda492
Merge pull request #352 from skrashevich/patch-listen-tls
2023-06-29 21:35:19 +03:00
Alexey Khit
9de980a63c
Fix config tab showing byte string instead of text #479
2023-06-29 16:16:08 +03:00
Alexey Khit
888159d2b6
Update API response mime type
2023-05-31 14:41:57 +03:00
Alexey Khit
0e270081fe
Add content-type to API responses
2023-05-30 22:02:16 +03:00
Alexey Khit
59555cfe1d
Move WS API to separate module
2023-05-23 14:21:39 +03:00
Sergey Krashevich
c94d1e237d
Merge remote-tracking branch 'remotes/upstream/master' into patch-listen-tls
2023-05-21 23:29:08 +03:00
Alexey Khit
75f61b38ac
Move cmd module to internal
2023-05-01 12:55:14 +03:00