diff --git a/main.go b/main.go index 9634fc3..ad98ab4 100644 --- a/main.go +++ b/main.go @@ -9,7 +9,7 @@ import ( ) const ( - PREFIX = "https://gh.ncc.cx/" + PREFIX = "/" exp1 = `^(?:https?:\/\/)?github\.com\/.+?\/.+?\/(?:releases|archive)\/.*$` exp2 = `^(?:https?:\/\/)?github\.com\/.+?\/.+?\/(?:blob|raw)\/.*$`