include robots.txt file with a script to copy it

This commit is contained in:
deityhub 2021-04-28 12:55:42 +01:00
parent 1961795b21
commit 8c1a2bb6a0
3 changed files with 24197 additions and 24161 deletions

File diff suppressed because it is too large Load Diff

View File

@ -33,6 +33,7 @@
"redux-thunk": "^2.2.0",
"sane-email-validation": "^1.1.0",
"serve": "^11.3.2",
"shx": "^0.3.3",
"socket.io-client": "^2.4.0",
"stripe": "^6.36.0",
"valid-url": "^1.0.9",
@ -50,6 +51,7 @@
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"start": "node index.js",
"build": "react-scripts build",
"postbuild": "shx cp robots.txt build",
"dev": "export PORT=3006 && react-scripts start",
"test": "mocha --exit ./src/test/statusPage.test.js",
"eject": "react-scripts eject",

3
status-page/robots.txt Normal file
View File

@ -0,0 +1,3 @@
User-agent: *
Disallow: /status-page/*
Disallow: /.well-known/*