logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: e54cc15cbd0b21c32acfa223e57f24667b158f48
parent: 2654f3be82c518693c41b73fe68d693a345dbe67
Author: Satoshi KOJIMA <skoji@mac.com>
Date:   Fri, 28 Jul 2017 08:55:52 +0900

fix #4356 : place sw.js to assets/sw.js (#4357)


Diffstat:

M.gitignore1-
Mconfig/webpack/production.js2+-
Apublic/sw.js2++
3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -21,7 +21,6 @@ public/system public/assets public/packs public/packs-test -public/sw.js .env .env.production node_modules/ diff --git a/config/webpack/production.js b/config/webpack/production.js @@ -48,7 +48,7 @@ module.exports = merge(sharedConfig, { ServiceWorker: { entry: path.join(__dirname, '../../app/javascript/mastodon/service_worker/entry.js'), cacheName: 'mastodon', - output: '../sw.js', + output: '../assets/sw.js', publicPath: '/sw.js', minify: true, }, diff --git a/public/sw.js b/public/sw.js @@ -0,0 +1 @@ +assets/sw.js+ \ No newline at end of file