Skip to content

Commit

Permalink
Fix: env 업데이트 및 https policy meta 태그 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
minchodang committed May 19, 2024
1 parent 50e9d78 commit 2cafccd
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env
.env.local
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

4 changes: 4 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@ import GlobalModal from '@src/components/common/modal/GlobalModal';
import Toaster from '@src/components/common/toast/Toast';
import './globals.css';
import TanstackQueryProvider from '@src/provider/TanstackQueryProvider';
import Head from 'next/head';

interface LocaleLayoutProps {
children: React.ReactNode;
}

const LocaleLayout: FC<LocaleLayoutProps> = ({ children }) => (
<html lang="ko">
<Head>
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
</Head>
<body>
<TanstackQueryProvider>
{children}
Expand Down

0 comments on commit 2cafccd

Please sign in to comment.