We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5371f5c commit 03d96e2Copy full SHA for 03d96e2
1 file changed
apps/docs/app/layout.tsx
@@ -7,14 +7,6 @@ import { Provider } from "./provider";
7
import { cn } from "@/lib/utils";
8
9
const getMetadataBase = () => {
10
- const appUrl = process.env["NEXT_PUBLIC_APP_URL"];
11
- if (appUrl) {
12
- return new URL(appUrl);
13
- }
14
- const vercelUrl = process.env["VERCEL_URL"];
15
- if (vercelUrl) {
16
- return new URL(`https://${vercelUrl}`);
17
18
if (process.env.NODE_ENV === "production") {
19
return new URL("https://www.assistant-ui.com");
20
}
0 commit comments