Skip to content

Commit 3a7ed65

Browse files
fix(config): multi token parse regex
1 parent bdcb585 commit 3a7ed65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type config struct {
2828
MultiTokens []string
2929
}
3030

31-
var botTokenRegex = regexp.MustCompile(`MULTI\_TOKEN[\d+]=(.*)`)
31+
var botTokenRegex = regexp.MustCompile(`MULTI\_TOKEN\d+=(.*)`)
3232

3333
func (c *config) setupEnvVars(log *zap.Logger) {
3434
envPath := filepath.Clean("fsb.env")

0 commit comments

Comments
 (0)