Add files via upload

This commit is contained in:
2021-08-18 00:12:37 -07:00
committed by GitHub
parent ecd6246099
commit 9d759573d2
55 changed files with 3098 additions and 0 deletions

5
util/auth.js Normal file
View File

@ -0,0 +1,5 @@
function auth(myKey, givenKey, c) {
if (c.key.includes(givenKey) || c.admin.key.includes(givenKey) || c.public === true || myKey === null) return true;
return false;
}
module.exports = auth;