Skip to content

Commit b622726

Browse files
committed
Added security.txt
1 parent cc2a273 commit b622726

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"author": "Guillermo Guirao Aguilar",
66
"license": "ISC",
77
"scripts": {
8-
"serve": "parcel src/{index.pug,404.pug,robots.txt,sitemap.txt,favicon.ico}",
8+
"serve": "parcel src/{index.pug,404.pug}",
99
"prebuild": "rm -rf dist",
10-
"build": "parcel build src/{index.pug,404.pug,robots.txt,sitemap.txt,favicon.ico} --no-source-maps"
10+
"build": "parcel build src/{index.pug,404.pug} --no-source-maps"
1111
},
1212
"cache": {
1313
"strategy": "inject",

src/main.pug

+4
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@ html(lang="en")
3030
block content
3131

3232
block scripts
33+
34+
a(href='/robots.txt')
35+
a(href='/sitemap.txt')
36+
a(href='/.well-known/security.txt')

0 commit comments

Comments
 (0)