Merge branch 'feature/ChangeReaddEndpoint' into dev

This commit is contained in:
JackDandy 2023-03-09 13:52:04 +00:00
commit a38ce36936
2 changed files with 4 additions and 0 deletions

View file

@ -15,6 +15,7 @@
* Add logging around the restart/shutdown event * Add logging around the restart/shutdown event
* Update package resource API 63.2.0 (3ae44cd) to 67.3.2 (b9bf2ec) * Update package resource API 63.2.0 (3ae44cd) to 67.3.2 (b9bf2ec)
* Refactor `timestamp_near` to `SGDatetime.timestamp_near` * 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) ### 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/builder(/?)(.*)' % self.options['web_root'], webserve.ApiBuilder),
(r'%s/api(/?.*)' % self.options['web_root'], webapi.Api), (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 # regular catchall routes - keep here at the bottom
(r'%s/home(/?.*)' % self.options['web_root'], webserve.Home), (r'%s/home(/?.*)' % self.options['web_root'], webserve.Home),
(r'%s/manage/(/?.*)' % self.options['web_root'], webserve.Manage), (r'%s/manage/(/?.*)' % self.options['web_root'], webserve.Manage),