Skip to content

Instantly share code, notes, and snippets.

@jtangelder
jtangelder / server.py
Created December 24, 2014 11:50
Python SimpleHTTPServer with HTML5 pushState support
#!/usr/bin/env python
# execute in the folder you want the server to run
# starts at port 80
import os
import urlparse
import SimpleHTTPServer
import SocketServer