vanten-s.com/main.py

10 lines
231 B
Python
Raw Normal View History

2023-08-01 21:04:58 +02:00
import frmWrk.website
import markdown
def router(method, path, headers):
return "200 OK", "Hello".encode("utf-8"), {}
webserver = frmWrk.website.WebServer("localhost", 3000, "./src/", custom_router=router)
webserver.start()