diff --git a/packages/utils/src/internals/robots.ts b/packages/utils/src/internals/robots.ts index fd390dd7a4fb..89d6b9650300 100644 --- a/packages/utils/src/internals/robots.ts +++ b/packages/utils/src/internals/robots.ts @@ -83,7 +83,7 @@ export class RobotsFile { * @param [userAgent] relevant user agent, default to `*` */ isAllowed(url: string, userAgent = '*'): boolean { - return this.robots.isAllowed(url, userAgent) ?? false; + return this.robots.isAllowed(url, userAgent) ?? true; // `undefined` means that there is no explicit rule for the requested URL - assume it's allowed } /**