mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-25 14:34:19 +00:00
aggiunto /
This commit is contained in:
parent
6af4d57f36
commit
40d2869f3e
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ reverse_proxy_app = werkzeug.middleware.proxy_fix.ProxyFix(app=app, x_for=1, x_p
|
|||
|
||||
app.add_url_rule("/doa", view_func=page_doa, methods=["GET", "POST"])
|
||||
app.add_url_rule("/api/v1/login", view_func=page_login, methods=["POST"])
|
||||
app.add_url_rule("/api/v1/users", view_func=page_users, methods=["GET", "POST"])
|
||||
app.add_url_rule("/api/v1/users/", view_func=page_users, methods=["GET", "POST"])
|
||||
app.add_url_rule("/api/v1/users/<string:email>", view_func=page_user, methods=["GET", "PATCH", "DELETE"])
|
||||
app.add_url_rule("/api/v1/repositories/", view_func=page_repositories, methods=["GET", "POST"])
|
||||
app.add_url_rule("/api/v1/repositories/<int:rid>", view_func=page_repository, methods=["GET", "PATCH", "DELETE", "PUT"])
|
||||
|
|
Loading…
Reference in a new issue