10 lines
231 B
Python
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()
|
|
|