mirror of
https://github.com/abusoww/tuxmate.git
synced 2026-04-25 15:25:21 +02:00
- next.config.ts: Auto-detects Cloudflare Pages (CF_PAGES) to use 'export', defaults to 'standalone' for Docker - wrangler.json: Removed invalid binding for static deploy - package.json: Added build:static script
11 lines
234 B
TypeScript
11 lines
234 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: (process.env.STATIC_EXPORT || process.env.CF_PAGES) ? 'export' : 'standalone',
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|