diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx index 8c84139ae..8278f0a2b 100644 --- a/frontend/src/index.tsx +++ b/frontend/src/index.tsx @@ -12,14 +12,12 @@ import { GlobalStyle } from 'style/GlobalStyle'; const queryClient = new QueryClient(); const main = async () => { - if (process.env.NODE_ENV === 'development') { - await worker.start({ - serviceWorker: { - url: '/mockServiceWorker.js', - }, - onUnhandledRequest: 'bypass', - }); - } + await worker.start({ + serviceWorker: { + url: '/mockServiceWorker.js', + }, + onUnhandledRequest: 'bypass', + }); const domNode = document.getElementById('root'); const root = createRoot(domNode); diff --git a/frontend/src/style/GlobalStyle.ts b/frontend/src/style/GlobalStyle.ts index f15c887bd..da46eaa22 100644 --- a/frontend/src/style/GlobalStyle.ts +++ b/frontend/src/style/GlobalStyle.ts @@ -3,13 +3,7 @@ import { createGlobalStyle } from 'styled-components'; import { reset } from './reset'; export const GlobalStyle = createGlobalStyle` - @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap"); - ${reset} - - * { - font-family: "Noto Sans KR", sans-serif !important; - } /********** hidden scroll **********/ html,