robots.txt defaults to disallow
This commit is contained in:
2
static/robots.txt
Normal file
2
static/robots.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Disallow: /
|
||||
@@ -37,6 +37,11 @@ const copyWebpackCommands = [
|
||||
},
|
||||
force: true,
|
||||
},
|
||||
{
|
||||
from: `${STATIC_ROOT}/robots.txt`,
|
||||
to: `${DIST_ROOT}/robots.txt`,
|
||||
force: true,
|
||||
},
|
||||
{
|
||||
from: `${STATIC_ROOT}/img/favicon.png`,
|
||||
to: `${DIST_ROOT}/public/favicon.png`,
|
||||
|
||||
Reference in New Issue
Block a user