Spaces:
Sleeping
Sleeping
Dhrumit1314
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -44,8 +44,8 @@ def hello():
|
|
44 |
# domain = request.url_root
|
45 |
# user_agent = request.user_agent.string
|
46 |
|
47 |
-
|
48 |
-
h = "<h1>This is the backend deployed web page created by NotivAI!!</h1>"
|
49 |
return h
|
50 |
|
51 |
@app.route('/get_tested',methods=['GET'])
|
|
|
44 |
# domain = request.url_root
|
45 |
# user_agent = request.user_agent.string
|
46 |
|
47 |
+
h = f"<h1>Hello World</h1><p>Hostname: {hostname}</p><p>Domain: {domain}</p><p>User Agent: {user_agent}</p>"
|
48 |
+
# h = "<h1>This is the backend deployed web page created by NotivAI!!</h1>"
|
49 |
return h
|
50 |
|
51 |
@app.route('/get_tested',methods=['GET'])
|