-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: new constants and better analytics #5475
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you provide a link to the RSS feed? I cannot quickly find it and am surprised it's not visible on the UI from a quick glance
It's available on the "view-source" as part of the head. But quick link is https://nodejs.org/en/feed/blog.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Signed-off-by: Claudio Wunder <[email protected]>
I'm fast-tracking this @nodejs/website |
Description
This PR introduces new Environment Variables that allow us both during build-time and runtime to evaluate if the Application is running under Vercel, which allows us to render the Vercel Analytics component conditionally.
This PR also introduces a
BASE_URL
constant that allows us to add on URLs that before were manually (hard-coded) defined ashttps://nodejs.org
.This PR also fixes the RSS Feed not having the Base URL as a prefix and the Canonical URL being the wrong route on
HtmlHead
component.