mirror of
https://github.com/outline/outline.git
synced 2025-12-30 15:30:12 -06:00
16 lines
184 B
TypeScript
16 lines
184 B
TypeScript
import env from "@server/env";
|
|
|
|
export const robotsResponse = () => {
|
|
if (env.isCloudHosted) {
|
|
return `
|
|
User-agent: *
|
|
Allow: /
|
|
`;
|
|
}
|
|
|
|
return `
|
|
User-agent: *
|
|
Disallow: /
|
|
`;
|
|
};
|