fix: Remove 'www.' from host in RootLayout for cleaner domain handling
This commit is contained in:
@@ -77,7 +77,7 @@ export default async function RootLayout({
|
|||||||
}: Readonly<{
|
}: Readonly<{
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}>) {
|
||||||
const domain = (await headers()).get("host");
|
const domain = (await headers()).get("host")?.replace("www.", "");
|
||||||
|
|
||||||
const contactInfo = [
|
const contactInfo = [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user