anbot

78ef64a / push-auth.mjs

View file at this commit

diff --git a/push-auth.mjs b/push-auth.mjs
index 8e57089..7e32a71 100644
--- a/push-auth.mjs
+++ b/push-auth.mjs
@@ -48,6 +48,7 @@ export function pushAuth(allowlist, origin, repoId) {
     .split(/\r?\n/).some(line => line.trim() === author)
 
   return {
+    isAllowed: allowed,
     async challenge(request, response) {
       try {
         if (request.method === 'GET') {

Git ยท Social feed