소스 검색

disable cache test

amenpunk 4 년 전
부모
커밋
6ed7aaa3d8
2개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      public/index.html
  2. 1 0
      src/Pages/Login.jsx

+ 5 - 0
public/index.html

@@ -5,6 +5,11 @@
     <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
     <meta name="theme-color" content="#000000" />
+
+    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
+    <meta http-equiv="Pragma" content="no-cache" />
+    <meta http-equiv="Expires" content="0" />
+
     <meta
       name="description"
       content="Web site created using create-react-app"

+ 1 - 0
src/Pages/Login.jsx

@@ -82,6 +82,7 @@ export function Login() {
                             display: 'flex',
                             flexDirection: 'column',
                             alignItems: 'center',
+                            marginTop : '25%'
                         }}
                     >
                         <Avatar sx={{ m: 1, bgcolor: '#fd4b4b' }}>