Skip to content

Commit

Permalink
nextjs pwa reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJustChew committed Nov 6, 2023
1 parent e79ba04 commit dff5076
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,18 @@ const withPWA = require('@ducanh2912/next-pwa').default({
dest: 'public',
disable: process.env.NODE_ENV === 'development',
cacheStartUrl: true,

dynamicStartUrlRedirect: '/zh/today',
})

/** @type {import('next').NextConfig} */
const nextConfig = {
}

module.exports = withPWA(nextConfig);


// Injected content via Sentry wizard below

const { withSentryConfig } = require("@sentry/nextjs");

module.exports = withSentryConfig(
module.exports,
withPWA(nextConfig),
{
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options
Expand Down

0 comments on commit dff5076

Please sign in to comment.