modifying credentials

This commit is contained in:
unknown
2025-07-30 11:39:05 -04:00
parent 8c871231d2
commit 2464141f45
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ from user_agents import parse
# Initialize Flask application
app = Flask(__name__)
app.config['SECRET_KEY'] = 'your-secret-key-change-in-production'
app.config['SQLALCHEMY_DATABASE_URI'] = 'postgresql://postgres:Ratkhonho123@localhost/qr_management'
app.config['SQLALCHEMY_DATABASE_URI'] = 'postgresql://postgres:postgres1411@localhost/qr_management'
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
# Initialize database
+1 -1
View File
@@ -16,7 +16,7 @@ def create_app():
app = Flask(__name__)
# Database configuration
database_url = os.environ.get('DATABASE_URL', 'postgresql://postgres:Ratkhonho123@localhost/qr_management')
database_url = os.environ.get('DATABASE_URL', 'postgresql://postgres:postgres1411@localhost/qr_management')
app.config['SQLALCHEMY_DATABASE_URI'] = database_url
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
+1 -1
View File
@@ -16,7 +16,7 @@ def create_app():
app = Flask(__name__)
# Database configuration
database_url = os.environ.get('DATABASE_URL', 'postgresql://postgres:Ratkhonho123@localhost/qr_management')
database_url = os.environ.get('DATABASE_URL', 'postgresql://postgres:postgres1411@localhost/qr_management')
app.config['SQLALCHEMY_DATABASE_URI'] = database_url
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False