diff --git a/packages/graphql-playground-html/src/render-playground-page.ts b/packages/graphql-playground-html/src/render-playground-page.ts index 2c904bd2d..e7013e66c 100644 --- a/packages/graphql-playground-html/src/render-playground-page.ts +++ b/packages/graphql-playground-html/src/render-playground-page.ts @@ -3,6 +3,7 @@ import { filterXSS } from 'xss'; import getLoadingMarkup from './get-loading-markup' export interface MiddlewareOptions { + shareEnabled?: boolean; endpoint?: string subscriptionEndpoint?: string workspaceName?: string @@ -95,13 +96,13 @@ const CONFIG_ID = 'playground-config'; const getCdnMarkup = ({ version, cdnUrl = '//cdn.jsdelivr.net/npm', faviconUrl }) => { const buildCDNUrl = (packageName: string, suffix: string) => filter(`${cdnUrl}/${packageName}${version ? `@${version}` : ''}/${suffix}` || '') return ` - ${typeof faviconUrl === 'string' ? `` : ''} ${faviconUrl === undefined ? `` : ''} - `}