mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-10 12:30:24 +08:00
增加简化版的创建HTTP网站API
This commit is contained in:
@@ -9,3 +9,7 @@ var (
|
||||
YYYYMMDD = regexp.MustCompile(`^\d{8}$`)
|
||||
YYYYMM = regexp.MustCompile(`^\d{6}$`)
|
||||
)
|
||||
|
||||
var (
|
||||
HTTPProtocol = regexp.MustCompile("^(?i)(http|https)://")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user