change prefix

This commit is contained in:
2022-02-23 11:18:04 +08:00
parent bad2b5c9ad
commit 4b6d62d02b

View File

@@ -9,7 +9,7 @@ import (
) )
const ( const (
PREFIX = "https://gh.ncc.cx/" PREFIX = "/"
exp1 = `^(?:https?:\/\/)?github\.com\/.+?\/.+?\/(?:releases|archive)\/.*$` exp1 = `^(?:https?:\/\/)?github\.com\/.+?\/.+?\/(?:releases|archive)\/.*$`
exp2 = `^(?:https?:\/\/)?github\.com\/.+?\/.+?\/(?:blob|raw)\/.*$` exp2 = `^(?:https?:\/\/)?github\.com\/.+?\/.+?\/(?:blob|raw)\/.*$`