-
-
Notifications
You must be signed in to change notification settings - Fork 76
WM5 | Behrouz(abdullah) Karimi | Node Server Module | WEEK 1-2-3-4 #170
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
base: main
Are you sure you want to change the base?
Conversation
|
| } else { | ||
| usersChat.push(chatData); | ||
| const latestMessages = latestTenMsg(usersChat); | ||
| res.send(latestTenMsg(usersChat)); |
Check failure
Code scanning / SonarCloud
Endpoints should not be vulnerable to reflected cross-site scripting (XSS) attacks
|
|
||
| app.get("/messages/latest", (req, res) => { | ||
| const latestMsgs = latestTenMsg(usersChat); | ||
| res.status(200).send(latestMsgs); |
Check failure
Code scanning / SonarCloud
Endpoints should not be vulnerable to reflected cross-site scripting (XSS) attacks




Learners, PR Template
Self checklist
Changelist
Briefly explain your PR.
chat server Project , frontEnd has been dne as well, But I haven't uplaoded it on netlify yet because of some minor bugs.
I will update this PR As I did it.
Questions
Ask any questions you have for your reviewer.