Skip to content

Commit 7eb944b

Browse files
Set Netlify headers to disable indexing raw files.
1 parent 601a315 commit 7eb944b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

_headers

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/raw/*
2+
X-Robots-Tag: noindex

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ mkdir -p out
66
cp -r "decompiled-$1" out/raw
77
find out/raw -name "*.gml" -exec sh -c 'cp "$1" "${1%.gml}.txt"' _ {} \;
88
cp -r static out
9+
cp _headers out
910
python generate.py "$1"

0 commit comments

Comments
 (0)