mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-19 01:03:37 +00:00
Change re-add deprecated endpoint used by external scripts.
This commit is contained in:
parent
bd610ca2eb
commit
48d4b505a3
2 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue