diff --git a/main.py b/main.py index aa4a0ef..5314201 100644 --- a/main.py +++ b/main.py @@ -1,53 +1,6 @@ -from http.server import BaseHTTPRequestHandler, HTTPServer +def main(): + print("Hello from syncide-test!") -class MyServerHandler(BaseHTTPRequestHandler): - def do_GET(self): - if self.path == '/': - self.send_response(200) - self.send_header("Content-type", "text/html") - self.end_headers() - - html = """ - -
This is a simple preview. wow coool
- Go to Subpage - - - """ - self.wfile.write(html.encode("utf-8")) - - elif self.path == '/subpage': - self.send_response(200) - self.send_header("Content-type", "text/html") - self.end_headers() - - html = """ - -