docs: more comments

This commit is contained in:
tlanyan
2021-02-19 19:55:23 +08:00
parent 865abfc81c
commit 3ab44d04e2
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -47,6 +47,9 @@ function handler(Psr\Http\Message\ServerRequestInterface $req) {
return serveStaticFiles($url);
}
// @notice: uncomment the following line to proxy any url!
// return proxy($req);
$exp1 = '/^https?:\/\/?github\.com\/.+?\/.+?\/(?:releases|archive)\/.*$/i';
$exp2 = '/^https?:\/\/?github\.com\/.+?\/.+?\/(?:blob)\/.*$/i';
$exp3 = '/^https?:\/\/?github\.com\/.+?\/.+?\/(?:info|git-).*$/i';