Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,6 +28,11 @@ SECURITY_TOKEN = 'sSSjyhInIsUohKpG8sHzty2q'
|
|
| 28 |
|
| 29 |
REDIRECT_URI = 'https://huggingface.co/spaces/Yaswanth56/python_test/oauth/callback' # Your redirect URI
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
# OAuth flow to redirect to Salesforce login
|
| 32 |
@app.route('/login')
|
| 33 |
def login():
|
|
|
|
| 28 |
|
| 29 |
REDIRECT_URI = 'https://huggingface.co/spaces/Yaswanth56/python_test/oauth/callback' # Your redirect URI
|
| 30 |
|
| 31 |
+
# Placeholder test route to check if the app is accessible
|
| 32 |
+
@app.route('/test_route')
|
| 33 |
+
def test_route():
|
| 34 |
+
return "Test route is working! Flask app is accessible."
|
| 35 |
+
|
| 36 |
# OAuth flow to redirect to Salesforce login
|
| 37 |
@app.route('/login')
|
| 38 |
def login():
|