Skip to content

Commit

Permalink
Fix: meta-tag 재수정
Browse files Browse the repository at this point in the history
  • Loading branch information
minchodang committed May 19, 2024
1 parent 293e7cf commit e787842
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/app/auth/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ interface HomePageLayoutProps {

const HomePageLayout: FC<HomePageLayoutProps> = ({ children, params: { locale } }) => (
<div>
<Head>
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
</Head>
<div>{children}</div>
</div>
);
Expand Down
9 changes: 9 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,19 @@ import Toaster from '@src/components/common/toast/Toast';
import './globals.css';
import TanstackQueryProvider from '@src/provider/TanstackQueryProvider';
import Head from 'next/head';
import { Metadata } from 'next';

interface LocaleLayoutProps {
children: React.ReactNode;
}
export const metadata: Metadata = {
title: 'Meta Test',
description: 'Meta Test',
other: {
'http-equiv': 'Content-Security-Policy',
content: 'upgrade-insecure-requests'
}
};

const LocaleLayout: FC<LocaleLayoutProps> = ({ children }) => (
<html lang="ko">
Expand Down

0 comments on commit e787842

Please sign in to comment.