smithy.git

commit 54d2f06d8f6b66976ae0dfa52bd47ac6500fdbeb

Author: Adam <git@apiote.tk>

include _ in project names

 pkg/smithy/smithy.go | 2 +-


diff --git a/pkg/smithy/smithy.go b/pkg/smithy/smithy.go
index d2d0915baef41cc7b6e6b70a252d1255b7c3d3c7..1fa6c8dea46fcd8aa6d1f2574e0051310b5db73a 100644
--- a/pkg/smithy/smithy.go
+++ b/pkg/smithy/smithy.go
@@ -832,7 +832,7 @@
 func CompileRoutes() []Route {
 	// Label is either a repo, a ref
 	// A filepath is a list of labels
-	label := `[a-zA-Z0-9\-~\.]+`
+	label := `[a-zA-Z0-9\-~\._]+`
 
 	indexUrl := regexp.MustCompile(`^/$`)
 	repoGitUrl := regexp.MustCompile(`^/git/(?P<repo>` + label + `)`)