From b677d3bb3d6c8fbb0b61621cc8ac53a7d68fa949 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 12 Feb 2020 09:04:53 -0300 Subject: wip --- tmp/server.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 tmp/server.py (limited to 'tmp/server.py') diff --git a/tmp/server.py b/tmp/server.py new file mode 100755 index 0000000..a76c833 --- /dev/null +++ b/tmp/server.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python +import SimpleHTTPServer +import SocketServer + +PORT = 8001 + +class Handler(SimpleHTTPServer.SimpleHTTPRequestHandler): + pass + +Handler.extensions_map['.wasm'] = 'application/wasm' + +httpd = SocketServer.TCPServer(("", PORT), Handler) + +print "serving at port", PORT +httpd.serve_forever() -- cgit v1.2.3