Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
changed config
Browse files Browse the repository at this point in the history
  • Loading branch information
MizoTake committed Oct 21, 2018
1 parent 1bcf28f commit af49611
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion VueProject/pwaForUnity/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
env: require('./prod.env'),
index: path.resolve(__dirname, '../dist/index.html'),
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'dist/static',
assetsSubDirectory: 'static',
assetsPublicPath: './',
productionSourceMap: true,
// Gzip off by default as many popular static hosts such as
Expand Down
2 changes: 1 addition & 1 deletion VueProject/pwaForUnity/dist/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><title>PWAforUnity</title><link rel=icon type=image/png sizes=32x32 href=./static/img/icons/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=./static/img/icons/favicon-16x16.png><!--[if IE]><link rel="shortcut icon" href="/static/img/icons/favicon.ico"><![endif]--><link rel=manifest href=./static/manifest.json><meta name=theme-color content=#4DBA87><meta name=apple-mobile-web-app-capable content=PWAforUnity><meta name=apple-mobile-web-app-status-bar-style content=black><meta name=apple-mobile-web-app-title content=PWAforUnity><link rel=apple-touch-icon href=./static/img/icons/apple-touch-icon-152x152.png><link rel=mask-icon href=./static/img/icons/safari-pinned-tab.svg color=#4DBA87><meta name=msapplication-TileImage content=./static/img/icons/msapplication-icon-144x144.png><meta name=msapplication-TileColor content=#000000><link rel=preload href=./dist/static/js/vendor.90d7c1576bb1a7736533.js as=script><link rel=preload href=./dist/static/js/app.02c781f5a0f85b595468.js as=script><link rel=preload href=./dist/static/css/app.b8e908dd1983cadb5682ced0bf5a9f82.css as=style><link rel=preload href=./dist/static/js/manifest.962c4e0e4910bd58d1bf.js as=script><link href=./dist/static/css/app.b8e908dd1983cadb5682ced0bf5a9f82.css rel=stylesheet></head><body><noscript>This is your fallback content in case JavaScript fails to load.</noscript><div id=app></div><script>!function(){"use strict";var o=Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));window.addEventListener("load",function(){"serviceWorker"in navigator&&("https:"===window.location.protocol||o)&&navigator.serviceWorker.register("service-worker.js").then(function(o){o.onupdatefound=function(){if(navigator.serviceWorker.controller){var n=o.installing;n.onstatechange=function(){switch(n.state){case"installed":break;case"redundant":throw new Error("The installing service worker became redundant.")}}}}}).catch(function(o){console.error("Error during service worker registration:",o)})})}();</script><script type=text/javascript src=./dist/static/js/manifest.962c4e0e4910bd58d1bf.js></script><script type=text/javascript src=./dist/static/js/vendor.90d7c1576bb1a7736533.js></script><script type=text/javascript src=./dist/static/js/app.02c781f5a0f85b595468.js></script></body></html>
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><title>PWAforUnity</title><link rel=icon type=image/png sizes=32x32 href=./static/img/icons/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=./static/img/icons/favicon-16x16.png><!--[if IE]><link rel="shortcut icon" href="/static/img/icons/favicon.ico"><![endif]--><link rel=manifest href=./static/manifest.json><meta name=theme-color content=#4DBA87><meta name=apple-mobile-web-app-capable content=PWAforUnity><meta name=apple-mobile-web-app-status-bar-style content=black><meta name=apple-mobile-web-app-title content=PWAforUnity><link rel=apple-touch-icon href=./static/img/icons/apple-touch-icon-152x152.png><link rel=mask-icon href=./static/img/icons/safari-pinned-tab.svg color=#4DBA87><meta name=msapplication-TileImage content=./static/img/icons/msapplication-icon-144x144.png><meta name=msapplication-TileColor content=#000000><link rel=preload href=./static/js/vendor.90d7c1576bb1a7736533.js as=script><link rel=preload href=./static/js/app.02c781f5a0f85b595468.js as=script><link rel=preload href=./static/css/app.b8e908dd1983cadb5682ced0bf5a9f82.css as=style><link rel=preload href=./static/js/manifest.3ad1d5771e9b13dbdad2.js as=script><link href=./static/css/app.b8e908dd1983cadb5682ced0bf5a9f82.css rel=stylesheet></head><body><noscript>This is your fallback content in case JavaScript fails to load.</noscript><div id=app></div><script>!function(){"use strict";var o=Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));window.addEventListener("load",function(){"serviceWorker"in navigator&&("https:"===window.location.protocol||o)&&navigator.serviceWorker.register("service-worker.js").then(function(o){o.onupdatefound=function(){if(navigator.serviceWorker.controller){var n=o.installing;n.onstatechange=function(){switch(n.state){case"installed":break;case"redundant":throw new Error("The installing service worker became redundant.")}}}}}).catch(function(o){console.error("Error during service worker registration:",o)})})}();</script><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.90d7c1576bb1a7736533.js></script><script type=text/javascript src=./static/js/app.02c781f5a0f85b595468.js></script></body></html>
2 changes: 1 addition & 1 deletion VueProject/pwaForUnity/dist/service-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

This file was deleted.

Loading

0 comments on commit af49611

Please sign in to comment.