File size: 174 Bytes
062a991
 
 
 
1
2
3
4
5
export function appUrl() {
  const configured = process.env.APP_URL ?? process.env.NEXT_PUBLIC_APP_URL ?? "http://localhost:3000";
  return configured.replace(/\/+$/, "");
}