Fix robots.txt

This commit is contained in:
2026-04-21 09:49:20 +02:00
parent 324d757e5b
commit 38602ff9bc
4 changed files with 27 additions and 39 deletions
+17
View File
@@ -0,0 +1,17 @@
# Robots.txt per giampy-dogservice
User-agent: *
Disallow: /admin/
Disallow: /logout/
User-agent: AhrefsBot
Disallow: /
User-agent: SemrushBot
Disallow: /
User-agent: DotBot
Disallow: /
User-agent: MJ12bot
Disallow: /
-29
View File
@@ -1,29 +0,0 @@
# Robots.txt for giampy-dogservice
# Blocca aree amministrative e private
User-agent: *
Disallow: /admin/
Disallow: /logout/
# Blocca file statici non importanti per SEO
Disallow: /*.json$
Disallow: *.css
Disallow: *.js
Disallow: /static/
# Crawl delay - server debole, limitiamo il traffico
Crawl-delay: 5
Request-rate: 1/5
# Blocca bot cattivi o pesanti
User-agent: AhrefsBot
Disallow: /
User-agent: SemrushBot
Disallow: /
User-agent: DotBot
Disallow: /
User-agent: MJ12bot
Disallow: /
+1 -1
View File
@@ -7,6 +7,6 @@ export default defineConfig({
fs: {
allow: ['.']
},
allowedHosts: ['.ngrok-free.app'] // <-- Aggiungi questa riga qui
allowedHosts: ['.ngrok-free.app']
}
});
+9 -9
View File
@@ -2,10 +2,10 @@
# yarn lockfile v1
"@esbuild/win32-x64@0.25.12":
"@esbuild/linux-x64@0.25.12":
version "0.25.12"
resolved "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz"
integrity sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==
resolved "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz"
integrity sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==
"@fortawesome/fontawesome-free@^7.2.0":
version "7.2.0"
@@ -91,15 +91,15 @@
estree-walker "^2.0.2"
picomatch "^4.0.2"
"@rollup/rollup-win32-x64-gnu@4.60.2":
"@rollup/rollup-linux-x64-gnu@4.60.2":
version "4.60.2"
resolved "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.2.tgz"
integrity sha512-qdAzEULD+/hzObedtmV6iBpdL5TIbKVztGiK7O3/KYSf+HIzU257+MX1EXJcyIiDbMAqmbwaufcYPvyRryeZtA==
resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.2.tgz"
integrity sha512-UQjrkIdWrKI626Du8lCQ6MJp/6V1LAo2bOK9OTu4mSn8GGXIkPXk/Vsp4bLHCd9Z9Iz2OTEaokUE90VweJgIYQ==
"@rollup/rollup-win32-x64-msvc@4.60.2":
"@rollup/rollup-linux-x64-musl@4.60.2":
version "4.60.2"
resolved "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.2.tgz"
integrity sha512-Nd/SgG27WoA9e+/TdK74KnHz852TLa94ovOYySo/yMPuTmpckK/jIF2jSwS3g7ELSKXK13/cVdmg1Z/DaCWKxA==
resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.2.tgz"
integrity sha512-bTsRGj6VlSdn/XD4CGyzMnzaBs9bsRxy79eTqTCBsA8TMIEky7qg48aPkvJvFe1HyzQ5oMZdg7AnVlWQSKLTnw==
"@standard-schema/spec@^1.0.0":
version "1.1.0"