Browse Source

disable cache test

amenpunk 3 years ago
parent
commit
6ed7aaa3d8
2 changed files with 6 additions and 0 deletions
  1. 5 0
      public/index.html
  2. 1 0
      src/Pages/Login.jsx

+ 5 - 0
public/index.html

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

+ 1 - 0
src/Pages/Login.jsx

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