Skip to content

Commit

Permalink
Changes start url #2
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsi15 committed Sep 13, 2020
1 parent 1d467df commit 3dfe232
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ const withOffline = require('next-offline')

const nextConfig = {
target: 'serverless',
// transformManifest: manifest => ['/'].concat(manifest), // add the homepage to the cache
transformManifest: manifest => ['/'].concat(manifest), // add the homepage to the cache
// Trying to set NODE_ENV=production when running yarn dev causes a build-time error so we
// turn on the SW in dev mode so that we can actually test it
generateInDevMode: true,
workboxOpts: {
swDest: 'static/service-worker.js',
swDest: 'service-worker.js',
runtimeCaching: [
{
urlPattern: /^https?.*/,
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"background_color": "#FFFFFF",
"description": "Desarrollador web un apasionado y entusiasta de las tecnología web: JavaScript, Node.js, Docker, Firebase, React, etc..",
"display": "fullscreen",
"start_url": "https://dev.johnserrano.co/",
"start_url": "/",
"theme_color": "#000"
}

0 comments on commit 3dfe232

Please sign in to comment.