fix
This commit is contained in:
@@ -32,7 +32,7 @@ def _parse_response():
|
|||||||
return pulls
|
return pulls
|
||||||
|
|
||||||
class PullsHandler(BaseHTTPRequestHandler):
|
class PullsHandler(BaseHTTPRequestHandler):
|
||||||
_VALID_PATHS={"/", "gitea-pulls-sorted.json"}
|
_VALID_PATHS={"/", "/gitea-pulls-sorted.json"}
|
||||||
|
|
||||||
def do_GET(self):
|
def do_GET(self):
|
||||||
if self.path not in self._VALID_PATHS:
|
if self.path not in self._VALID_PATHS:
|
||||||
|
|||||||
Reference in New Issue
Block a user