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

feat: robots not index config #4503

Merged
merged 4 commits into from
Apr 23, 2020
Merged

Conversation

fengkx
Copy link
Contributor

@fengkx fengkx commented Apr 20, 2020

It is useful if you don't want the self-hosted instance can be found by search engine.

Copy link
Owner

@DIYgod DIYgod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在首页加 meta robots 的方法好像并不能阻止所有路由被抓取,最好是加一个 robot.txt

lib/config.js Outdated Show resolved Hide resolved
Copy link
Owner

@DIYgod DIYgod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请在 test 里添加测试用例

@DIYgod DIYgod merged commit 4384214 into DIYgod:master Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants