diff --git a/client/browser/src/shared/backend/headers.tsx b/client/browser/src/shared/backend/headers.tsx index c8470af44cf9..5a4126bb073b 100644 --- a/client/browser/src/shared/backend/headers.tsx +++ b/client/browser/src/shared/backend/headers.tsx @@ -5,9 +5,7 @@ import { getExtensionVersionSync, getPlatformName } from '../util/context' * Requests can be blocked for various reasons and therefore the HTTP request MUST use the headers returned here. */ export function getHeaders(): { [name: string]: string } | undefined { - // This is required (in most cases) for requests to be allowed by Sourcegraph's CORS rules. It - // is not required for browser extension background worker requests, but it's harmless to - // include it for those, too. + // This is required for requests to be allowed by Sourcegraph's CORS rules. return { 'X-Requested-With': `Sourcegraph - ${getPlatformName()} v${getExtensionVersionSync()}`, }