fix
This commit is contained in:
parent
b265467dc4
commit
0286dc39eb
2
main.go
2
main.go
|
@ -58,7 +58,7 @@ func GetFileList() []string {
|
||||||
return result
|
return result
|
||||||
} else {
|
} else {
|
||||||
filesStr := ret.String()
|
filesStr := ret.String()
|
||||||
arr := strings.Split(filesStr, pb.FilesDelimeter)
|
arr := strings.Split(filesStr, ns.FilesDelimeter)
|
||||||
for _, item := range arr {
|
for _, item := range arr {
|
||||||
if strings.HasPrefix(item, uriPrefix) {
|
if strings.HasPrefix(item, uriPrefix) {
|
||||||
result = append(result, item[uriPrefixLength:])
|
result = append(result, item[uriPrefixLength:])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user