Skip to content

Commit

Permalink
feat: add noindex to the header
Browse files Browse the repository at this point in the history
  • Loading branch information
helciofranco committed Nov 20, 2024
1 parent 624d931 commit f144ead
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/app-explorer/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,21 @@ const config = {
eslint: {
ignoreDuringBuilds: true,
},
async headers() {
const headers = [
{
headers: [
{
key: 'X-Robots-Tag',
value: 'noindex',
},
],
source: '/:path*',
},
];

return headers;
},
redirects: async () => {
return [
{
Expand Down

0 comments on commit f144ead

Please sign in to comment.