This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
fix
#4356
: place sw.js to assets/sw.js (
#4357
)
pull/4/head
Satoshi KOJIMA
6 years ago
committed by
Eugen Rochko
parent
2654f3be82
commit
e54cc15cbd
3 changed files
with
2 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
.gitignore
+1
-1
config/webpack/production.js
+1
-0
public/sw.js
+ 0
- 1
.gitignore
View File
@ -21,7 +21,6 @@ public/system
public/assets
public/assets
public/packs
public/packs
public/packs-test
public/packs-test
public/sw.js
.env
.env
.env.production
.env.production
node_modules/
node_modules/
+ 1
- 1
config/webpack/production.js
View File
@ -48,7 +48,7 @@ module.exports = merge(sharedConfig, {
ServiceWorker
:
{
ServiceWorker
:
{
entry
:
path
.
join
(
__dirname
,
'../../app/javascript/mastodon/service_worker/entry.js'
)
,
entry
:
path
.
join
(
__dirname
,
'../../app/javascript/mastodon/service_worker/entry.js'
)
,
cacheName
:
'mastodon'
,
cacheName
:
'mastodon'
,
output
:
'../sw.js'
,
output
:
'../
assets/
sw.js'
,
publicPath
:
'/sw.js'
,
publicPath
:
'/sw.js'
,
minify
:
true
,
minify
:
true
,
}
,
}
,
+ 1
- 0
public/sw.js
View File
@ -0,0 +1 @@
assets
/
sw
.
js
Write
Preview
Loading…
Cancel
Save