Dhrumit1314 commited on
Commit
82c0891
1 Parent(s): 842eea1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -40,9 +40,9 @@ def extract_video_id(youtube_link):
40
 
41
  @app.route('/', methods=['GET'])
42
  def hello():
43
- # hostname = request.host
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>"
 
40
 
41
  @app.route('/', methods=['GET'])
42
  def hello():
43
+ hostname = request.host
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>"