tubearchivist-frontend/app/lib/constants.ts

3 lines
101 B
TypeScript
Raw Permalink Normal View History

2022-10-18 19:28:37 +00:00
export const API_URL =
typeof document !== "undefined" ? window.ENV.API_URL : process.env.API_URL;