---
title: "Andrew Ross (@AndrewRoss) | Hashnode"
description: "Full Stack Engineer. Read the latest articles by Andrew Ross on Hashnode."
url: "https://hashnode.com/@AndrewRoss"
---

@AndrewRoss

# Andrew Ross

@AndrewRoss · Chicago, IL · Joined February 2021

Full Stack Engineer

[Website](https://andrewross.dev/)

## Comments

[Great article! For that client/server dependent secret you could use a ternary to further refine it. const isServer = typeof window === “undefined” fetch(${isServer ? process.env.BASE\_URL : “ “}/api/hello).then...](https://hashnode.com/posts/keeping-secrets-safe-with-nextjs-api-routes/5f8157675841661b519d0260/comment/601f6ed2636acc2a3822f048)

Comment · Article · Feb 7, 2021 · [Keeping secrets safe with Next.js API routes](https://hashnode.com/posts/keeping-secrets-safe-with-nextjs-api-routes/5f8157675841661b519d0260)
