package main
import (
- "code.octet-stream.net/broadcaster/protocol"
+ "code.octet-stream.net/broadcaster/internal/protocol"
"crypto/sha256"
"encoding/hex"
"io"
return
}
defer out.Close()
- resp, err := http.Get(config.ServerURL + "/audio-files/" + filename)
+ resp, err := http.Get(config.ServerURL + "/file-downloads/" + filename)
if err != nil {
downloadResult <- err
return