Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,9 +13,9 @@ SF_DOMAIN = "login" # Use "test" if using a sandbox
|
|
| 13 |
# Connect to Salesforce
|
| 14 |
sf = Salesforce(username=SF_USERNAME, password=SF_PASSWORD, security_token=SF_SECURITY_TOKEN, domain=SF_DOMAIN)
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
|
| 20 |
@app.route('/get_menu', methods=['GET'])
|
| 21 |
def get_menu():
|
|
|
|
| 13 |
# Connect to Salesforce
|
| 14 |
sf = Salesforce(username=SF_USERNAME, password=SF_PASSWORD, security_token=SF_SECURITY_TOKEN, domain=SF_DOMAIN)
|
| 15 |
|
| 16 |
+
@app.route('/')
|
| 17 |
+
def home():
|
| 18 |
+
return render_template('Menu.html')
|
| 19 |
|
| 20 |
@app.route('/get_menu', methods=['GET'])
|
| 21 |
def get_menu():
|