Skip to content

Commit 5d0061e

Browse files
committed
feat: add robots.txt file
1 parent 08a3dee commit 5d0061e

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Gruntfile.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ module.exports = (grunt) => {
4848
src: ["sitemap.xml"],
4949
dest: "dist/website/",
5050
},
51+
{
52+
src: ["robots.txt"],
53+
dest: "dist/website/",
54+
},
5155
],
5256
},
5357
extension: {
@@ -278,4 +282,4 @@ module.exports = (grunt) => {
278282
grunt.registerTask("test", ["unit-tests", "functional-tests"]);
279283

280284
grunt.registerTask("default", ["build-dev", "connect:website", "watch"]);
281-
};
285+
};

robots.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-agent: *
2+
Disallow: /beta/
3+
Allow: /
4+
Sitemap: https://jwt.io/sitemap.xml

0 commit comments

Comments
 (0)