Skip to content

Commit

Permalink
Change path detection regex to be more general
Browse files Browse the repository at this point in the history
  • Loading branch information
codemicro committed Oct 26, 2023
1 parent 6081693 commit 94ecfc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/httpcore/httpcore.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func ListenAndServe(addr string) error {
return app.Listen(addr)
}

var urlFileRegexp = regexp.MustCompile(`[\w\-/]+\.(css|js|svg|json)`)
var urlFileRegexp = regexp.MustCompile(`[\w\-/]+\.[a-zA-Z]+`)

var (
signer *goalone.Sword
Expand Down

0 comments on commit 94ecfc0

Please sign in to comment.