Skip to content
Snippets Groups Projects
Commit c1df102b authored by Noah Jefferson Baumann's avatar Noah Jefferson Baumann
Browse files

fixing app.py

parent f85d39d5
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ app = Flask(__name__)
CORS(app)
# Get the database URL from the environment
DATABASE_URL = "postgresql://postgres:RdMSFdyIgbiwfwIPwSupAvPkcsKZzRbF@junction.proxy.rlwy.net:29683/railway"
DATABASE_URL = "os.getenv('DATABASE_URL')"
if not DATABASE_URL:
raise ValueError("DATABASE_URL is not set in the environment variables")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment