mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 09:36:08 +00:00
style: fix prettier formatting
This commit is contained in:
@@ -191,9 +191,7 @@ export async function POST(request: NextRequest) {
|
||||
});
|
||||
|
||||
const fromAddress =
|
||||
process.env.SMTP_FROM ||
|
||||
process.env.EMAIL_FROM ||
|
||||
'OpenFrame <[email protected]>';
|
||||
process.env.SMTP_FROM || process.env.EMAIL_FROM || 'OpenFrame <[email protected]>';
|
||||
|
||||
try {
|
||||
await transporter.sendMail({
|
||||
|
||||
+2
-2
@@ -176,8 +176,8 @@ export default function TermsOfServicePage() {
|
||||
</p>
|
||||
<p className="mt-3">
|
||||
The core platform code is made available under the Functional Source License
|
||||
(FSL-1.1-ALv2): the source code is publicly available and may be self-hosted, and
|
||||
each release becomes available under the Apache 2.0 license two years after its
|
||||
(FSL-1.1-ALv2): the source code is publicly available and may be self-hosted, and each
|
||||
release becomes available under the Apache 2.0 license two years after its
|
||||
publication. Please refer to the license in the GitHub repository for details on
|
||||
permitted use.
|
||||
</p>
|
||||
|
||||
@@ -276,8 +276,7 @@ export function LandingPage({ isLoggedIn }: LandingPageProps) {
|
||||
rel="noreferrer"
|
||||
className="text-xs font-medium text-muted-foreground/70 transition-colors hover:text-foreground"
|
||||
>
|
||||
Prefer self-hosting? View on GitHub{' '}
|
||||
<ArrowRight className="ml-1 inline h-3 w-3" />
|
||||
Prefer self-hosting? View on GitHub <ArrowRight className="ml-1 inline h-3 w-3" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -110,8 +110,7 @@ export async function sendVerificationEmail(email: string, token: string): Promi
|
||||
}
|
||||
|
||||
const verifyUrl = `${baseUrl}/api/auth/verify-email?token=${encodeURIComponent(token)}`;
|
||||
const from =
|
||||
process.env.SMTP_FROM || process.env.EMAIL_FROM || 'OpenFrame <[email protected]>';
|
||||
const from = process.env.SMTP_FROM || process.env.EMAIL_FROM || 'OpenFrame <[email protected]>';
|
||||
|
||||
const html = brandedEmailTemplate(
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user