17 lines
356 B
TypeScript
17 lines
356 B
TypeScript
import type { NextConfig } from "next";
|
|
import withPWAInit from "next-pwa";
|
|
|
|
const withPWA = withPWAInit({
|
|
dest: "public",
|
|
disable: process.env.NODE_ENV === "development",
|
|
});
|
|
|
|
const nextConfig: NextConfig = {
|
|
turbopack: {
|
|
root: process.cwd(),
|
|
},
|
|
allowedDevOrigins: ["next-postgres-shadcn.ruska.dev"],
|
|
};
|
|
|
|
export default withPWA(nextConfig);
|