Skip to content

Commit

Permalink
fix(run-sw-precache): remove hardcoded public directory
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Mar 15, 2018
1 parent e68823a commit c178610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/run-sw-precache.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const generateSWPrecacheConfig = ({
publicDir,
logger
}, extraSWPrecacheConfig) => {
const hexoPublicDir = 'public'
const hexoPublicDir = publicDir
const rootPrefix = root.replace(/\/$/, '')
return Object.assign({
logger,
Expand Down

0 comments on commit c178610

Please sign in to comment.