DEV Community

Discussion on: I made a free Dev.to Writing Streak Calculator using Next.js, Day.js and the Dev.to API

Collapse
 
devlorenzo profile image
DevLorenzo

Well done!
Just a question for you, I saw that the redirect link (top right) for @ben lead to his "portfolio", have you manually inserted it?
Because if so, you did the same for my newsletter at my name ("worldindev.ck.page/")!

Collapse
 
jameswallis profile image
James Wallis

Thanks!
That's using the user's website URL (or Dev.to profile URL if they haven't set one). See website_url here: docs.forem.com/api/#operation/getUser. You'll have set your newsletter URL as your website URL in your Dev.to settings.