Update web.py
This commit is contained in:
parent
f6fc2d378b
commit
eab2474101
1 changed files with 1 additions and 3 deletions
|
@ -19,9 +19,7 @@ def new() -> flask.Flask:
|
|||
view_func=_api_register_watcher,
|
||||
methods=["POST"],
|
||||
)
|
||||
app.add_url_rule(
|
||||
"/api/v1/watcher", view_func=_api_list_watched, methods=["GET"]
|
||||
)
|
||||
app.add_url_rule("/api/v1/watcher", view_func=_api_list_watched, methods=["GET"])
|
||||
app.add_url_rule(
|
||||
"/api/v1/watcher/run", view_func=_api_run_watcher, methods=["POST"]
|
||||
)
|
||||
|
|
Reference in a new issue