Skip to content

Commit 3bf9905

Browse files
committed
Optimize Search Engine
1 parent f711db7 commit 3bf9905

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

necchange/src/app/layout.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ const inter = Inter({ subsets: ["latin"] });
1111

1212
export const metadata = {
1313
title: "NECChange",
14-
description: "Generated by create next app",
14+
description: "necchange is a website where students can see their test calendar and where they can access their membership card.",
15+
content: "necchange is a website where students can see their test calendar and where they can access their membership card."
1516
};
1617

1718
export default async function RootLayout({ children }) {

necchange/src/lib/authOptions.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ async function sendVerificationRequest(params) {
9090
function html(params) {
9191
const { url, host, theme } = params;
9292

93-
const escapedHost = host.replace(/\./g, "​.");
94-
9593
const brandColor = theme.brandColor || "#346df1";
9694
const color = {
9795
text: "#444",
@@ -101,10 +99,8 @@ function html(params) {
10199
buttonText: theme.buttonText || "#fff",
102100
};
103101

104-
105-
106102
const redirect = process.env.NEXTAUTH_URL + "/auth/captcha?redirect=" + url;
107-
console.log("Redirect", redirect);
103+
// console.log("Redirect", redirect);
108104
return `
109105
<body>
110106
<table width="100%" border="0" cellspacing="20" cellpadding="0"
@@ -118,7 +114,7 @@ function html(params) {
118114
<tr>
119115
<td align="center"
120116
style="padding: 10px 0px; font-size: 22px; font-family: Helvetica, Arial, sans-serif; color: ${color.text};">
121-
Sign in to <strong>${escapedHost}</strong>
117+
Sign in to <strong>necchange.necc.di.uminho.pt</strong>
122118
</td>
123119
</tr>
124120
<tr>

0 commit comments

Comments
 (0)