File edit modal

This commit is contained in:
2021-02-23 16:50:13 +01:00
parent 346fa355c4
commit 5e8598f112
10 changed files with 180 additions and 290 deletions

View File

@@ -225,7 +225,7 @@ func (wc *WebController) serveSkynetViewer(w http.ResponseWriter, r *http.Reques
// Get the first few bytes from the file to probe the content type and
// length
rq, err := http.NewRequest("GET", "https://skydrain.net/file/"+p.ByName("id"), nil)
rq, err := http.NewRequest("GET", "https://siasky.net/file/"+p.ByName("id"), nil)
if err != nil {
log.Warn("Failed to make request to sia portal: %s", err)
w.WriteHeader(http.StatusInternalServerError)