Format HTML

This commit is contained in:
Milan Nikolic
2017-10-05 21:44:19 +02:00
parent 24fffe2c3f
commit 29e9f6a562

View File

@@ -44,10 +44,10 @@ func (h *HTML) ServeHTTP(w http.ResponseWriter, r *http.Request) {
var html = `<html> var html = `<html>
<head> <head>
<meta charset="utf-8"/>
<title>cam2ip</title> <title>cam2ip</title>
<script> <script>
var url = "ws://{BIND}/socket"; ws = new WebSocket("ws://{BIND}/socket");
ws = new WebSocket(url);
var image = new Image(); var image = new Image();
ws.onopen = function() { ws.onopen = function() {