seperating react files, starting to fix top menu.

This commit is contained in:
2017-12-17 21:40:00 -05:00
parent 1904a6ec24
commit c408801447
10 changed files with 1851 additions and 1625 deletions

View File

@@ -395,6 +395,14 @@ func main() {
startTorrent(clientTorrent, torrentLocalStorage, db, Config.DataDir, "magnet", "") //starting the torrent and creating local DB entry
} else if string(msg) == "torrentFileListRequest" { //client requested a filelist update
fmt.Println("client Requested Filelist update")
err = conn.WriteMessage(msgType, []byte("fileListUpdate"))
if err != nil {
fmt.Println("Websocket Write err", err)
return
}
} else {
conn.Close()
fmt.Println(string(msg))