Skip to content

Commit

Permalink
Update webserver.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BoQsc committed Jul 31, 2024
1 parent 73e6753 commit c3c1c59
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions webserver/Webserver/webserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@

class RedirectHandler(BaseHTTPRequestHandler):
def do_GET(self):
#html_content = """
#<head>
# <title>Custom Title</title>
#</head>
#"""
#self.wfile.write(html_content.encode('utf-8'))


if self.path == '/':
self.send_response(200), self.send_header('Content-type', 'text/html'), self.end_headers()

Expand Down

0 comments on commit c3c1c59

Please sign in to comment.