Skip to content

Commit ecd82f4

Browse files
committed
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
1 parent 890beed commit ecd82f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth-server/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ import { fileURLToPath } from 'url';
120120
const __filename = fileURLToPath(import.meta.url);
121121
const __dirname = path.dirname(__filename);
122122

123-
app.get('/mcp-logo.png', (req, res) => {
123+
app.get('/mcp-logo.png', staticFileRateLimit, (req, res) => {
124124
// Serve from the main server's static directory
125125
const logoPath = path.join(__dirname, '../src/static/mcp.png');
126126
res.sendFile(logoPath);

0 commit comments

Comments
 (0)