Skip to content

Commit 3d91e1f

Browse files
Chris Brodylovasoa
Chris Brody
authored andcommitted
cleanup: line spacing fixes in local server script (#323)
1 parent 142d9de commit 3d91e1f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

examples/start_local_server.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
#!/usr/bin/env python
2+
23
import BaseHTTPServer, SimpleHTTPServer, os
3-
4+
45
# We need to host from the root because we are going to be requesting files inside of dist
56
os.chdir('../')
67
port=8081
78
print "Running on port %d" % port
8-
9+
910
SimpleHTTPServer.SimpleHTTPRequestHandler.extensions_map['.wasm'] = 'application/wasm'
1011

1112
httpd = BaseHTTPServer.HTTPServer(('localhost', port), SimpleHTTPServer.SimpleHTTPRequestHandler)
12-
13+
1314
print "Mapping \".wasm\" to \"%s\"" % SimpleHTTPServer.SimpleHTTPRequestHandler.extensions_map['.wasm']
14-
httpd.serve_forever()
15+
httpd.serve_forever()

0 commit comments

Comments
 (0)