index.html 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
  7. <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  8. <title><%= htmlWebpackPlugin.options.title %></title>
  9. </head>
  10. <body>
  11. <div id="app"></div>
  12. <script>
  13. window.EOS_PROTOCOL = 'https'
  14. window.EOS_HOST = 'proxy.eosnode.tools'
  15. window.EOS_PORT = '443'
  16. // if ('serviceWorker' in navigator) {
  17. // window.addEventListener('load', function () {
  18. // navigator.serviceWorker.register('/sw.js')
  19. // .then(function (registration) {
  20. // console.log('ServiceWorker registration successful')
  21. // // console.log('ServiceWorker registration successful with scope: ', registration.scope)
  22. // })
  23. // .catch(function (err) {
  24. // console.log('ServiceWorker registration failed: ', err)
  25. // })
  26. // })
  27. // }
  28. </script>
  29. <!-- built files will be auto injected -->
  30. </body>
  31. </html>