Do0rMaMu commited on
Commit
6a8b83a
·
verified ·
1 Parent(s): 41b853f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -299,6 +299,7 @@ async def submit_data(request: SubmitDataRequest):
299
  """
300
  Endpoint to receive data from the client via API.
301
  """
 
302
 
303
  frontend_url = os.getenv('FRONTEND_URL_NEW')
304
  truck_name = request.truck_name
 
299
  """
300
  Endpoint to receive data from the client via API.
301
  """
302
+ load_dotenv()
303
 
304
  frontend_url = os.getenv('FRONTEND_URL_NEW')
305
  truck_name = request.truck_name