Skip to content
Permalink
Browse files

Update index.js

  • Loading branch information
schme16 committed Jun 7, 2019
1 parent 137b7f2 commit 1112b6595b2bcf9d7e3355891a91d72587623f0d
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
@@ -105,7 +105,7 @@ function repoFunc (req, res) {
meta.branch = meta.raw.shift()
meta.filePath = meta.raw.join('/')
if (blacklist.indexOf(meta.user + '/' + meta.repo) > -1 || tempBlacklist.indexOf(meta.filePath) > -1) {
res.status(403).send("Forbidden - This repo/gist is on the blacklist. If you wish to appeal, please open an issue here: https://github.com/schme16/gitcdn.xyz/issues, with why you feel this repo should not be on the blacklist.")
res.status(404).send("Forbidden - This repo/gist is on the blacklist. If you wish to appeal, please open an issue here: https://github.com/schme16/gitcdn.xyz/issues, with why you feel this repo should not be on the blacklist.")
return false
}
else if ((!meta.repo && !meta.user) && !meta.gist) {

0 comments on commit 1112b65

Please sign in to comment.
You can’t perform that action at this time.