fix ui and add pwa
Some checks failed
Deploy MyApp on Same Server / build-and-deploy (push) Failing after 5s
Some checks failed
Deploy MyApp on Same Server / build-and-deploy (push) Failing after 5s
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
import type { NextConfig } from 'next'
|
||||
import withPWA from 'next-pwa'
|
||||
|
||||
const isProd = process.env.NODE_ENV === 'production'
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
reactStrictMode: true,
|
||||
@@ -9,9 +6,4 @@ const nextConfig: NextConfig = {
|
||||
turbopack: { root: __dirname }
|
||||
}
|
||||
|
||||
export default withPWA({
|
||||
dest: 'public',
|
||||
disable: !isProd,
|
||||
register: true,
|
||||
skipWaiting: true
|
||||
})(nextConfig)
|
||||
export default nextConfig
|
||||
|
||||
Reference in New Issue
Block a user