fix ui and add pwa
Some checks failed
Deploy MyApp on Same Server / build-and-deploy (push) Failing after 5s

This commit is contained in:
2025-11-15 17:27:10 +03:30
parent 38bc2b4ac2
commit 3870d66f7d
37 changed files with 1777 additions and 811 deletions

View File

@@ -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