Browse Source

add manifest file for pwa

serg1557733 1 year ago
parent
commit
bf0c75916f

+ 12 - 0
backend/node_modules/express-fileupload/example/index.html

@@ -0,0 +1,12 @@
+<html>
+	<body>
+		<form ref='uploadForm' 
+			id='uploadForm' 
+			action='/upload' 
+			method='post' 
+			encType="multipart/form-data">
+				<input type="file" name="sampleFile" />
+				<input type='submit' value='Upload!' />
+		</form>		
+	</body>
+</html>

+ 1 - 0
frontend/public/index.html

@@ -6,6 +6,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1" />
     <meta name="theme-color" content="#000000" />
     <meta name="description" content="Web site created using create-react-app" />
+    <link rel="manifest" href="/manifest.json">
     <title>Chat client</title>
 </head>