LalitMahale commited on
Commit
6acd7d3
·
1 Parent(s): 3d9266e
Files changed (2) hide show
  1. .env +2 -1
  2. app.py +1 -0
.env CHANGED
@@ -1 +1,2 @@
1
- GOOGLE_API = 'AIzaSyB3wI2r6ZgQnYQ3V39PX5S0zWSRqy5ldYw'
 
 
1
+ GOOGLE_API = 'AIzaSyB3wI2r6ZgQnYQ3V39PX5S0zWSRqy5ldYw'
2
+ TOKEN = "AIzaSyB3wI2r6ZgQnYQ3V39PX5S0zWSRqy5ldYw_Lalit"
app.py CHANGED
@@ -20,6 +20,7 @@ async def home():
20
 
21
  # Token verification function
22
  def verify_token(token: str):
 
23
  if token != os.getenv("TOKEN"):
24
  raise HTTPException(status_code=401, detail="Token not matched")
25
 
 
20
 
21
  # Token verification function
22
  def verify_token(token: str):
23
+ print(os.getenv("TOKEN"))
24
  if token != os.getenv("TOKEN"):
25
  raise HTTPException(status_code=401, detail="Token not matched")
26