diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..e77e0a9 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://pvh.projects.rustprogersteam.ru/sitemap.xml \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index a4dd14a..86c2ab8 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -12,6 +12,7 @@ export default defineConfig({ exclude: ['/admin', '/profile'], readable: true, outDir: './dist', + generateRobotsTxt: false, }), ], server: {