chore: Move to prettier standard double quotes (#1309)
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
// @flow
|
||||
import { type Context } from 'koa';
|
||||
import { type Context } from "koa";
|
||||
|
||||
const DISALLOW_ROBOTS = `User-agent: *
|
||||
Disallow: /`;
|
||||
|
||||
export const robotsResponse = (ctx: Context): ?string => {
|
||||
if (ctx.headers.host.indexOf('getoutline.com') < 0) return DISALLOW_ROBOTS;
|
||||
if (ctx.headers.host.indexOf("getoutline.com") < 0) return DISALLOW_ROBOTS;
|
||||
};
|
||||
|
Reference in New Issue
Block a user