Commit ccbc1ab8 authored by Romain Courteaud's avatar Romain Courteaud

External accesses will not be able to start the server.

parent 44622b27
...@@ -92,4 +92,11 @@ if (http.Server && http.WebSocketServer) { ...@@ -92,4 +92,11 @@ if (http.Server && http.WebSocketServer) {
}); });
return true; return true;
}); });
} else {
document.addEventListener('DOMContentLoaded', function() {
document.querySelector('div').textContent =
"Sorry, this application can only run as a sandboxed Chrome Application.";
});
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment