added server runner

This commit is contained in:
thatscringebro 2023-03-17 21:29:48 -04:00
parent e5ba8a182b
commit dc4d29504f

11
serve.py Normal file
View File

@ -0,0 +1,11 @@
import http.server
import socketserver
PORT = 8000
Handler = http.server.SimpleHTTPRequestHandler
httpd = socketserver.TCPServer(("", PORT), Handler)
print("Serving at http://localhost:{}".format(PORT))
httpd.serve_forever()