mirror of
https://github.com/zhaojh329/rtty.git
synced 2026-02-27 09:53:17 +08:00
@@ -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>
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user