Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,9 @@ SF_PASSWORD = os.getenv('SF_PASSWORD')
|
|
| 14 |
SF_SECURITY_TOKEN = os.getenv('SF_SECURITY_TOKEN')
|
| 15 |
SF_DOMAIN = os.getenv('SF_DOMAIN')
|
| 16 |
|
|
|
|
|
|
|
|
|
|
| 17 |
# Salesforce connection
|
| 18 |
try:
|
| 19 |
print("Attempting Salesforce connection...")
|
|
|
|
| 14 |
SF_SECURITY_TOKEN = os.getenv('SF_SECURITY_TOKEN')
|
| 15 |
SF_DOMAIN = os.getenv('SF_DOMAIN')
|
| 16 |
|
| 17 |
+
if __name__ == '__main__':
|
| 18 |
+
app.run(host="0.0.0.0", port=7860, debug=True)
|
| 19 |
+
|
| 20 |
# Salesforce connection
|
| 21 |
try:
|
| 22 |
print("Attempting Salesforce connection...")
|