Skip to content

Commit

Permalink
Update _url.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongyu committed Jun 4, 2024
1 parent b6a5066 commit 74ef9f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion githubkit/auth/_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
APP_AUTH_REGEX = re.compile(rf"^(?:{'|'.join(APP_ROUTES)})$", re.I)
"""Regex to match app authentication routes.
See: https://github.com/octokit/auth-app.js/blob/c0068e06081a5d930799285a7c79c9c948b676b6/src/requires-app-auth.ts#L45
See: https://github.com/octokit/auth-app.js/blob/9da834e0d8893b4cb233a2e9f67c3183abe8a341/src/requires-app-auth.ts#L46
"""
BASIC_AUTH_REGEX = re.compile(r"/applications/[^/]+/(token|grant)s?")
"""Regex to match basic authentication routes.
Expand Down

0 comments on commit 74ef9f5

Please sign in to comment.