Skip to content

Commit

Permalink
refactor: Update regular expression in arweave_alias.go to allow dots…
Browse files Browse the repository at this point in the history
… in aliases
  • Loading branch information
Laisky committed Aug 27, 2024
1 parent b56c3ae commit b9b283b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/web/telegram/service/arweave_alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func init() {
}
}

var regexpAlias = regexp.MustCompile(`^[a-zA-Z0-9_\-]+$`)
var regexpAlias = regexp.MustCompile(`^[a-zA-Z0-9_\-\.]+$`)

func (s *Type) arweaveAliasHandler() {
s.bot.Handle("/arweave_alias", func(c tb.Context) error {
Expand Down

0 comments on commit b9b283b

Please sign in to comment.