shethjenil commited on
Commit
3ee1009
·
verified ·
1 Parent(s): ef6cad0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ first_app = Flask(__name__)
23
 
24
  SECOND_SERVER_URL = 'http://localhost:5001/data'
25
 
26
- @first_app.route('/fetch', methods=['GET'])
27
  def fetch_data():
28
  try:
29
  response = requests.get(SECOND_SERVER_URL)
 
23
 
24
  SECOND_SERVER_URL = 'http://localhost:5001/data'
25
 
26
+ @first_app.route('/', methods=['GET'])
27
  def fetch_data():
28
  try:
29
  response = requests.get(SECOND_SERVER_URL)