Skip to content

WEB-240 - Add No Index to Tutorials staging site #25

Merged
PratheepV merged 3 commits intodevfrom
WEB-240
Jan 17, 2023
Merged

WEB-240 - Add No Index to Tutorials staging site #25
PratheepV merged 3 commits intodevfrom
WEB-240

Conversation

@shabarish-testsigma
Copy link
Copy Markdown
Contributor

No description provided.

@shabarish-testsigma shabarish-testsigma changed the title WEB-240 - Add Tutorials staging site WEB-240 - Add No Index to Tutorials staging site Jan 11, 2023
Comment thread src/templates/page.jsx Outdated

const isBrowser = () => typeof window !== "undefined"

if(isBrowser() && window.location.hostname=="website.testsigma.com") {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

plz have environment check instead of hard coding the domain

@PratheepV PratheepV merged commit 6cea671 into dev Jan 17, 2023
@PratheepV PratheepV deleted the WEB-240 branch January 17, 2023 07:11
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.

3 participants