Skip to content

Fix hardcoded DATABASE_URL in bot/main.py#10

Open
SoClosee wants to merge 1 commit intomainfrom
gitpilot/RugscoreBotTG-fix-1772491594
Open

Fix hardcoded DATABASE_URL in bot/main.py#10
SoClosee wants to merge 1 commit intomainfrom
gitpilot/RugscoreBotTG-fix-1772491594

Conversation

@SoClosee
Copy link
Copy Markdown

@SoClosee SoClosee commented Mar 2, 2026

This PR addresses the security issue by removing the hardcoded DATABASE_URL from the codebase. Instead, it checks for the environment variable DATABASE_URL and raises an error if it's not set. This ensures that sensitive information is stored securely.

Automated by GitPilot — your friendly AI maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant