1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-30 02:01:08 +02:00

Try to add a quality selector (WIP), see #4

This commit is contained in:
Yohann D'ANELLO
2020-10-06 00:06:52 +02:00
parent 192c86f140
commit 07983a1c71
5 changed files with 33 additions and 2 deletions

View File

@ -40,7 +40,7 @@ var (
templates *template.Template
// Precompile regex
validPath = regexp.MustCompile("^\\/[a-z0-9_-]*\\/?$")
validPath = regexp.MustCompile("^/[a-z0-9@_\\-]*/?$")
)
// Load templates with pkger