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
     <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
5
     <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6
     <meta name="viewport" content="width=device-width, initial-scale=1" />
6
     <meta name="viewport" content="width=device-width, initial-scale=1" />
7
     <meta name="theme-color" content="#000000" />
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
     <meta
13
     <meta
9
       name="description"
14
       name="description"
10
       content="Web site created using create-react-app"
15
       content="Web site created using create-react-app"

+ 1 - 0
src/Pages/Login.jsx

82
                             display: 'flex',
82
                             display: 'flex',
83
                             flexDirection: 'column',
83
                             flexDirection: 'column',
84
                             alignItems: 'center',
84
                             alignItems: 'center',
85
+                            marginTop : '25%'
85
                         }}
86
                         }}
86
                     >
87
                     >
87
                         <Avatar sx={{ m: 1, bgcolor: '#fd4b4b' }}>
88
                         <Avatar sx={{ m: 1, bgcolor: '#fd4b4b' }}>