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