blob: a76c833a48afaae5752d8e048a0018b753d1349a (
plain) (
tree)
|
|
#!/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()
|