Skip to content

Conversation

olegt-codefresh
Copy link
Contributor

No description provided.

@@ -59,8 +59,7 @@
<!-- End of Doc Search Embed Code -->

<script>
const isEnterpriseDocumentationCookieSet = document.cookie.includes('cfdoctype=enterprise')
const commandbarSegment = isEnterpriseDocumentationCookieSet ? '3033bf7f' : '43836ac3'
const commandbarSegment = IS_ENTERPRISE_DOC_COOKIE_SET ? '3033bf7f' : '43836ac3'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we still have this cookie?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't rename it IS_GITOPS_DOC_COOKIE_SET - thank you!

}

async function handleRedirect() {
if (shouldSkipRedirect()) return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if gitops cookie is removed, but user is trying to reach gitops page, we will not redirect him to enterprise?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this stage, we will maintain a one-way redirect and extend it if necessary.

@codefresh-git-integration
Copy link

@codefresh-git-integration
Copy link

@olegt-codefresh olegt-codefresh merged commit 5aa7985 into master Jun 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants