Skip to content

Commit

Permalink
Added a robots.txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
Lody Borgers committed Aug 9, 2023
1 parent e441904 commit 6f5f1f9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/routes/robots[.txt].ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { json } from '@remix-run/node';

export function loader() {
const body = `
User-agent: *
Disallow: /
`;

return json(body, {
headers: {
'Content-Type': 'text/plain',
},
});
}

0 comments on commit 6f5f1f9

Please sign in to comment.