change smtp env to server env

This commit is contained in:
KMKoushik
2025-03-31 23:18:01 +11:00
parent 5cf5022aed
commit d107d59dfd
5 changed files with 14 additions and 17 deletions

View File

@@ -1,4 +1,3 @@
"use client";
import * as React from "react";
import {
Card,
@@ -8,14 +7,12 @@ import {
CardTitle,
} from "@unsend/ui/src/card";
import { TextWithCopyButton } from "@unsend/ui/src/text-with-copy";
import {env} from "~/env";
const host = env.NEXT_PUBLIC_SMTP_HOST;
const user = env.NEXT_PUBLIC_SMTP_USER;
import { env } from "~/env";
export default function ExampleCard() {
const host = env.SMTP_HOST;
const user = env.SMTP_USER;
return (
<Card className="mt-9 max-w-xl">
<CardHeader>