mirror of
https://github.com/gen2brain/cam2ip.git
synced 2026-01-09 16:18:31 +00:00
Format HTML
This commit is contained in:
@@ -44,10 +44,10 @@ func (h *HTML) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
var html = `<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>cam2ip</title>
|
||||
<script>
|
||||
var url = "ws://{BIND}/socket";
|
||||
ws = new WebSocket(url);
|
||||
ws = new WebSocket("ws://{BIND}/socket");
|
||||
var image = new Image();
|
||||
|
||||
ws.onopen = function() {
|
||||
|
||||
Reference in New Issue
Block a user