Add rate limiting to auth server static file endpoint
- Apply staticFileRateLimit to /mcp-logo.png route in auth server - Addresses remaining check failure about missing rate limiting - Matches rate limiting pattern used in main server
This commit is contained in:
parent
890beed75a
commit
ecd82f43c9
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ import { fileURLToPath } from 'url';
|
|||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
app.get('/mcp-logo.png', (req, res) => {
|
||||
app.get('/mcp-logo.png', staticFileRateLimit, (req, res) => {
|
||||
// Serve from the main server's static directory
|
||||
const logoPath = path.join(__dirname, '../src/static/mcp.png');
|
||||
res.sendFile(logoPath);
|
||||
|
|
|
|||
Loading…
Reference in a new issue