Files
JML/next.config.ts

23 lines
496 B
TypeScript
Raw Normal View History

2026-04-21 22:20:39 +06:00
import type { NextConfig } from "next";
import withPWAInit from "@ducanh2912/next-pwa";
const withPWA = withPWAInit({
dest: "public",
disable: false, // Explicitly enabling PWA even in development mode per user request
register: true,
skipWaiting: true,
});
2026-04-21 22:20:39 +06:00
const nextConfig: NextConfig = {
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'images.unsplash.com',
pathname: '/**',
},
],
},
2026-04-21 22:20:39 +06:00
};
export default withPWA(nextConfig);