Change re-add deprecated endpoint used by external scripts.

This commit is contained in:
JackDandy 2023-03-09 13:51:48 +00:00
parent bd610ca2eb
commit 48d4b505a3
2 changed files with 4 additions and 0 deletions

View file

@ -15,6 +15,7 @@
* Add logging around the restart/shutdown event
* Update package resource API 63.2.0 (3ae44cd) to 67.3.2 (b9bf2ec)
* Refactor `timestamp_near` to `SGDatetime.timestamp_near`
* Change re-add deprecated endpoint used by external scripts
### 3.27.12 (2023-03-08 23:30:00 UTC)

View file

@ -214,6 +214,9 @@ class WebServer(threading.Thread):
(r'%s/api/builder(/?)(.*)' % self.options['web_root'], webserve.ApiBuilder),
(r'%s/api(/?.*)' % self.options['web_root'], webapi.Api),
# ----------------------------------------------------------------------------------------------------------
# legacy deprecated Aug 2019 - NEVER remove as used in external scripts
(r'%s/home/postprocess(/?.*)' % self.options['web_root'], webserve.HomeProcessMedia),
(r'%s(/?update_watched_state_kodi/?)' % self.options['web_root'], webserve.NoXSRFHandler),
# regular catchall routes - keep here at the bottom
(r'%s/home(/?.*)' % self.options['web_root'], webserve.Home),
(r'%s/manage/(/?.*)' % self.options['web_root'], webserve.Manage),