mirror of
https://github.com/simple-login/app.git
synced 2025-02-24 15:53:22 +08:00
do not add log for /git and /favicon.ico
This commit is contained in:
parent
429683f444
commit
827b90432c
1 changed files with 2 additions and 0 deletions
|
@ -497,6 +497,8 @@ def set_index_page(app):
|
||||||
not request.path.startswith("/static")
|
not request.path.startswith("/static")
|
||||||
and not request.path.startswith("/admin/static")
|
and not request.path.startswith("/admin/static")
|
||||||
and not request.path.startswith("/_debug_toolbar")
|
and not request.path.startswith("/_debug_toolbar")
|
||||||
|
and not request.path.startswith("/git")
|
||||||
|
and not request.path.startswith("/favicon.ico")
|
||||||
):
|
):
|
||||||
LOG.d(
|
LOG.d(
|
||||||
"%s %s %s %s %s, takes %s",
|
"%s %s %s %s %s, takes %s",
|
||||||
|
|
Loading…
Reference in a new issue