Skip to content

Commit

Permalink
do not send request to starter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
stsdc committed Sep 7, 2018
1 parent 1d872cd commit a679254
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions client/src/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import core from './core'

const wiredActions = hyperlog(app)(state, actions, view, document.body);

startServer();

document.onreadystatechange = function() {
if (document.readyState === "complete") {
wiredActions.restoreState();
Expand All @@ -24,10 +22,3 @@ core(wiredActions);
// https://bugs.webkit.org/show_bug.cgi?id=182521
// https://stackoverflow.com/a/50856621/1589989
window.addEventListener("touchmove", (event) => event.preventDefault(), {passive: false} );


function startServer() {
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", "../../server/starter.php");
xmlhttp.send();
}

0 comments on commit a679254

Please sign in to comment.