Expect full downloadable file pathname (allow CDN)
This commit is contained in:
parent
da84a90b4f
commit
ee67788d59
3 changed files with 3 additions and 5 deletions
|
|
@ -3,7 +3,6 @@ package fic
|
|||
import (
|
||||
"encoding/hex"
|
||||
"fmt"
|
||||
"path"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
|
@ -87,7 +86,7 @@ func MyJSONTeam(t *Team, started bool) (interface{}, error) {
|
|||
return nil, err
|
||||
} else {
|
||||
for _, f := range files {
|
||||
exercice.Files = append(exercice.Files, myTeamFile{path.Join("/files", f.Path), f.Name, hex.EncodeToString(f.Checksum), f.Size})
|
||||
exercice.Files = append(exercice.Files, myTeamFile{f.Path, f.Name, hex.EncodeToString(f.Checksum), f.Size})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue