Signed-off-by: zhaojh329 <jianhuizhao329@gmail.com>
This commit is contained in:
zhaojh329
2017-06-06 01:34:19 +08:00
parent 63c15e3d50
commit 97f965e829
5 changed files with 4 additions and 6 deletions
View File
View File
+3 -5
View File
@@ -1,11 +1,9 @@
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="xterm.css" />
<script src="jquery-1.12.4.min.js"></script>
<script src="xterm.js"></script>
<script src="utf8.js"></script>
<link rel="stylesheet" href="/css/xterm.css" />
<script src="/js/jquery-1.12.4.min.js"></script>
<script src="/js/xterm.js"></script>
</head>
<body>
<div id="terminal"></div>
+1 -1
View File
@@ -112,7 +112,7 @@ math.randomseed(tostring(os.time()):reverse():sub(1, 6))
mgr:connect("localhost:1883", ev_handle)
mgr:bind("8000", ev_handle, {proto = "http"})
mgr:bind("8000", ev_handle, {proto = "http", document_root = "www"})
print("Listen on http 8000...")
ev.Signal.new(function(loop, sig, revents)