Skip to content

Commit b357ba0

Browse files
committed
fix: add X-Robots-Tag header to prevent robot indexing and following
1 parent 77a29ab commit b357ba0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/storage/renderer/renderer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export abstract class Renderer {
8080
.header('ETag', data.metadata.eTag)
8181
.header('Content-Length', data.metadata.contentLength)
8282
.header('Last-Modified', data.metadata.lastModified?.toUTCString())
83+
.header('X-Robots-Tag', 'none')
8384

8485
if (options.expires) {
8586
response.header('Expires', options.expires)

0 commit comments

Comments
 (0)