From 714b21acd0baff6959ad9d4b928edb6702724d17 Mon Sep 17 00:00:00 2001 From: Jonathan Ostertag Date: Tue, 28 Nov 2023 12:36:53 +0100 Subject: [PATCH] chore: remove comment --- gatsby/util/build-netlify-preview-url.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gatsby/util/build-netlify-preview-url.ts b/gatsby/util/build-netlify-preview-url.ts index f00c1c70b..84442ebca 100644 --- a/gatsby/util/build-netlify-preview-url.ts +++ b/gatsby/util/build-netlify-preview-url.ts @@ -1,12 +1,3 @@ -/** - * Get the Netlify Preview URL by previewId - * (this equals the github entity id, e.g. PR id). - * If no previewId is given the fallback URL gets return. - * - * On netlify the deployment urls follow a strict pattern: - * - https://deploy-preview-${PREVIEW_ID}--${DOMAIN_NAME}.netlify.app/ - */ - const PRODUCTION_BRANCH = 'main'; export const buildNetlifyPreviewUrl = ({ domainName, reviewId, branch }) => { if (!domainName || !reviewId || branch === PRODUCTION_BRANCH) {