-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BD online #130
Conversation
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
@@ -11,7 +11,7 @@ | |||
app.use(express.json()); | |||
|
|||
// Connect to MongoDB | |||
const mongoUri = process.env.MONGODB_URI || 'mongodb://localhost:27017/userdb'; | |||
const mongoUri = process.env.MONGODB_URI || 'mongodb+srv://aswuser:aswuser@wiq06b.hsfgpcm.mongodb.net/userdb?retryWrites=true&w=majority&appName=wiq06b'; |
Check failure
Code scanning / SonarCloud
MongoDB database passwords should not be disclosed High
@@ -12,7 +12,7 @@ | |||
app.use(bodyParser.json()); | |||
|
|||
// Connect to MongoDB | |||
const mongoUri = process.env.MONGODB_URI || 'mongodb://localhost:27017/userdb'; | |||
const mongoUri = process.env.MONGODB_URI || 'mongodb+srv://aswuser:aswuser@wiq06b.hsfgpcm.mongodb.net/userdb?retryWrites=true&w=majority&appName=wiq06b'; |
Check failure
Code scanning / SonarCloud
MongoDB database passwords should not be disclosed High
No description provided.