diff --git a/backend/server.js b/backend/server.js index 7d19dbd..b8e8865 100644 --- a/backend/server.js +++ b/backend/server.js @@ -14,11 +14,6 @@ app.use(express.json()); app.use(express.urlencoded({ extended: true })); -app.get('/api/search', (req, res) => { - const termo = req.query.q || ''; - // Vulnerabilidade Crítica: XSS Refletido - res.send(`

Resultados para: ${termo}

`); -}); // Serve a pasta frontend app.use(express.static(path.join(__dirname, '../frontend'), { extensions: ['html'] })); diff --git a/frontend/index.html b/frontend/index.html index dd675eb..2f695c0 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -36,7 +36,7 @@ Modern website-secure

- At Apex Solutions, we deliver high-quality business consulting, technology services, and strategic insights. We help organizations across the globe achieve their goals through operational excellence and digital transformation. + CI/CD TEST Works

Explore Services diff --git a/package-lock.json b/package-lock.json index c8bf9fe..626dbd6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1307,9 +1307,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1324,9 +1321,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1341,9 +1335,6 @@ "loong64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1358,9 +1349,6 @@ "loong64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1375,9 +1363,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1392,9 +1377,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1409,9 +1391,6 @@ "riscv64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1426,9 +1405,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1443,9 +1419,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1460,9 +1433,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ diff --git a/package.json b/package.json index 949fef2..acf149b 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "cors": "^2.8.5", "express": "^4.18.2", "nodemailer": "^8.0.11" + }, "devDependencies": { "jest": "^30.4.2",