Commit bab01c9d authored by Taddeus Kroes's avatar Taddeus Kroes

Updated address/port to kompiler.org, removed JS minification

parent 8ee7c72a
ALL := scripts.js
ALL := monitor.js
.PHONY: all
......@@ -7,8 +7,5 @@ all: $(ALL)
%.js: %.coffee
coffee --compile --output $(@D) $<
scripts.js: json2.js monitor.js
cat $^ | yui-compressor --type js --output $@
clean:
rm -f $(ALL) $(patsubst %.coffee,%.js,$(wildcard *.coffee))
rm -f $(ALL)
......@@ -34,6 +34,7 @@
<span id="disk" class="right">-</span>
</div>
</div>
<script src="scripts.js" type="text/javascript"></script>
<script src="json2.js" type="text/javascript"></script>
<script src="monitor.js" type="text/javascript"></script>
</body>
</html>
......@@ -5,7 +5,7 @@ values = (e for e in el('content').getElementsByTagName('span')) \
connect = ->
val.innerHTML = 'Connecting...' for val in values
ws = new WebSocket 'ws://localhost:12345'
ws = new WebSocket 'ws://kompiler.org:8100'
ws.onopen = ->
console.log 'open'
......
......@@ -63,7 +63,7 @@ def stats():
if __name__ == '__main__':
server = websocket(extensions=[WebkitDeflateFrame()])
server.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
server.bind(('', 12345))
server.bind(('', 8100))
server.listen(5)
clients = []
......
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