|
|
@@ -110,8 +110,6 @@ var (
|
|
|
fileRegex = regexp.MustCompile(`^/file/([-_A-Za-z0-9]{1,64})(?:\.[A-Za-z0-9]{1,16})?$`)
|
|
|
urlRegex = regexp.MustCompile(`^https?://`)
|
|
|
phoneNumberRegex = regexp.MustCompile(`^\+\d{1,100}$`)
|
|
|
- templateVarRegex = regexp.MustCompile(`\${([^}]+)}`)
|
|
|
- templateVarFormat = "${%s}"
|
|
|
|
|
|
//go:embed site
|
|
|
webFs embed.FS
|