-
Notifications
You must be signed in to change notification settings - Fork 459
/
app.py
35 lines (32 loc) · 781 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
import os
from flask import Flask
app = Flask(__name__)
@app.route('/')
def home():
return """
<center>
<img src="/static/gagan.png" style="border-radius: 2px;"/>/>
</center>
<style>
body {
background: antiquewhite;
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100vh;
margin: 0;
}
footer {
text-align: center;
padding: 10px;
background: antiquewhite;
font-size: 1.2em;
}
</style>
<footer>
Made with 💕 by devgagan.in
</footer>
"""
if __name__ == "__main__":
port = int(os.environ.get("PORT", 5000))
app.run(host='0.0.0.0', port=port)