index.html 951 B

1234567891011121314151617181920212223242526272829
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <meta name="theme-color" content="#000000" />
  7. <meta name="description" content="Web site created using create-react-app" />
  8. <link rel="manifest" href="/manifest.json">
  9. <title>Chat client</title>
  10. </head>
  11. <body>
  12. <noscript>You need to enable JavaScript to run this app.</noscript>
  13. <div id="root"></div>
  14. <!-- <script>
  15. console.log('service worker start..', navigator)
  16. if('serviceWorker' in navigator){
  17. console.log('service worker started,..')
  18. window.addEventListener('load', () => {
  19. navigator.serviceWorker.register('./service-worker.js')
  20. .then( reg => console.log('Success', reg.scope))
  21. .catch(err => console.log('Fail',err))
  22. })
  23. }
  24. </script> -->
  25. </body>
  26. </html>