support m3u
This commit is contained in:
parent
a2e080acc8
commit
8f24b41b3e
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ func (sa *shareAPI) RootRouter() http.Handler {
|
|||
|
||||
r.Get("/{shareId:[A-Za-z0-9_-]{20,}}", sa.routeShare)
|
||||
r.Get("/{shareId:[A-Za-z0-9_-]{20,}}/{type}", sa.routeShare)
|
||||
r.Get("/{shareId:[A-Za-z0-9_-]{20,}}.{type}", sa.routeShare)
|
||||
r.Get("/{shareId:[A-Za-z0-9_-]{20,}}/{type}/{subID}", sa.routeShare)
|
||||
return r
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue