diff --git a/http/server.go b/http/server.go index cdf5988..ffcab0d 100644 --- a/http/server.go +++ b/http/server.go @@ -27,7 +27,7 @@ func main() { if path.Ext(e.Name()) == ".swf" { files["/"+e.Name()] = path.Join(*servePath, e.Name()) files["/"+e.Name()+".swf2ass.mkv"] = path.Join(*servePath, e.Name()+".swf2ass.mkv") - files["/"+e.Name()+".swf2ass.mkv.zstd"] = path.Join(*servePath, e.Name()+".swf2ass.mkv.zstd") + files["/"+e.Name()+".swf2ass.mkv.zst"] = path.Join(*servePath, e.Name()+".swf2ass.mkv.zst") files["/"+e.Name()+".swf2ass.mkv.br"] = path.Join(*servePath, e.Name()+".swf2ass.mkv.br") files["/"+e.Name()+".swf2ass.mkv.gzip"] = path.Join(*servePath, e.Name()+".swf2ass.mkv.gzip") } @@ -50,7 +50,7 @@ func main() { if err != nil { continue } - output += fmt.Sprintf("