diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..bc83b21 --- /dev/null +++ b/robots.txt @@ -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: / \ No newline at end of file diff --git a/static/robots.txt b/static/robots.txt deleted file mode 100644 index 72462da..0000000 --- a/static/robots.txt +++ /dev/null @@ -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: / diff --git a/vite.config.ts b/vite.config.ts index 5deecbb..825a7b3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,6 +7,6 @@ export default defineConfig({ fs: { allow: ['.'] }, - allowedHosts: ['.ngrok-free.app'] // <-- Aggiungi questa riga qui + allowedHosts: ['.ngrok-free.app'] } }); \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 774591c..fbc36e8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"