Skip to content

Commit

Permalink
Better reject message
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Nov 7, 2023
1 parent bbc2fc3 commit 6e00755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/budgetkey/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function app(): express.Express {
server.get('*', (req, res) => {
const user_agent = req.headers['user-agent'];
if (user_agent === 'thesis-research-bot') {
res.send('יש לנו קובץ עם כל המידע, בבקשה לא לעשות לנו סקרייפינג!');
res.send('יש לנו קובץ מידע פתוח לשימוש וקל להורדה עם כל המידע באתר, בבקשה לא לעשות לנו סקרייפינג!');
console.log(`${new Date().toISOString()} | ${res.statusCode} | REJECT | ${req.url} | ${user_agent}`);
return;
}
Expand Down

0 comments on commit 6e00755

Please sign in to comment.