Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable dev indexing #56

Open
Jagerente opened this issue May 22, 2023 · 0 comments
Open

Disable dev indexing #56

Jagerente opened this issue May 22, 2023 · 0 comments
Assignees
Labels
devops Devops related issues enhancement Fixes or optimizations frontend Frontend related issues

Comments

@Jagerente
Copy link
Member

Jagerente commented May 22, 2023

Цель

  • Отключить индексацию сайта Dev окружения
    • Использовать файл robots.txt и мета-тег.
  • Добавить переменную окружения VITE для разделения dev/prod окружений.
  • Обновить CI/CD.

Ожидаемый результат

  • В проекте есть отдельная папка для файлов robots.txt под разные окружения.
  • CI/CD копирует необходимый robots.txt в собранный проект.
  • Dev сборка содержит мета-тег
    <meta name="robots" content="noindex,nofollow">
  • Dev сборка содержит файл robots.txt
User-agent: *
Disallow: /
@Jagerente Jagerente added enhancement Fixes or optimizations devops Devops related issues frontend Frontend related issues labels May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops Devops related issues enhancement Fixes or optimizations frontend Frontend related issues
Projects
None yet
Development

No branches or pull requests

2 participants