vanten-s.com/main.py
2023-08-01 21:04:58 +02:00

10 lines
231 B
Python

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()