geethareddy commited on
Commit
c6b8b1e
·
verified ·
1 Parent(s): fd3df04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -4,6 +4,13 @@ from flask.sessions import SecureCookieSessionInterface # Import the class
4
  from salesforce import get_salesforce_connection
5
  from datetime import timedelta
6
  import os
 
 
 
 
 
 
 
7
 
8
  # Initialize Flask app and Salesforce connection
9
  print("Starting app...")
 
4
  from salesforce import get_salesforce_connection
5
  from datetime import timedelta
6
  import os
7
+ from flask import Flask
8
+ from customer_page import customer_page # Import the customer page blueprint
9
+
10
+ app = Flask(__name__)
11
+
12
+ # Register the Blueprint
13
+ app.register_blueprint(customer_page, url_prefix='/customer')
14
 
15
  # Initialize Flask app and Salesforce connection
16
  print("Starting app...")