-
Notifications
You must be signed in to change notification settings - Fork 3
/
app.py
37 lines (34 loc) · 985 Bytes
/
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return '''
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LOTR</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
text-align: center;
margin: 50px;
}
h1 {
color: #333;
}
</style>
</head>
<body>
<h1>FELLOWSHIP OF THE RING IS BROKEN!</h1>
<p>Mordor seeks the power of the rings.</p>
<p>You are in the mines of Moria. Fight the Balrog.</p>
<img src = "./static/img.jpeg" alt='hh' />
</body>
</html>
'''
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0', port=8000)