Removed GopherJS, basic frontend completed, need backend changes for

torrent storage
This commit is contained in:
2017-11-30 18:12:11 -05:00
parent 67fdef16b1
commit e98ad2cc88
69321 changed files with 5498914 additions and 337 deletions

View File

@@ -3,12 +3,12 @@ function myWebsocketStart()
var torrentLinkSubmit = document.getElementById('torrentLinkSubmit');
var magnetLink = document.getElementById('magnetLink');
var modal = document.getElementById('addTorrentModal');
var addTorrentModal = document.getElementById('addTorrentModal');
var myTextArea = document.getElementById("loggerData");
var torrentHash = document.getElementById("hash");
var ws = new WebSocket("ws://192.168.1.141:8000/websocket");
var ws = new WebSocket("ws://192.168.1.141:8000/websocket"); //creating websocket
ws.onopen = function()
{
@@ -52,7 +52,7 @@ function myWebsocketStart()
ws.send(magnetLinkjs);
myTextArea.innerHTML = myTextArea.innerHTML + "</br> Send:" + magnetLinkjs
modal.style.display = "none";
addTorrentModal.style.display = "none";
magnetLink.value = '';
}