Skip to content

Commit

Permalink
app v2.0.0 update
Browse files Browse the repository at this point in the history
  • Loading branch information
a3888s committed Dec 19, 2024
1 parent 247d07c commit 14f7170
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,32 @@ def do_GET(self):
if self.path == "/":
self.send_response(200)
self.end_headers()
self.wfile.write(b"OK")
html_content = """
<!DOCTYPE html>
<html>
<head>
<title>StepFinalProject</title>
<style>
body {{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
background-color: #f4f4f9;
}}
h1 {{
color: #333;
}}
</style>
</head>
<body>
<h1>StepFinalProject v 2.0.0</h1>
</body>
</html>
"""
self.wfile.write(html_content.encode("utf-8"))
else:
self.send_response(404)

Expand Down

0 comments on commit 14f7170

Please sign in to comment.