From a14c565ce0a7f5e037236bbf5cff9eb3deca80c2 Mon Sep 17 00:00:00 2001 From: NIJAT Date: Mon, 29 Dec 2025 12:45:38 +0400 Subject: [PATCH] chore: fix deployment config- Enabled static export in next.config.ts- Added wrangler.json pointing to ./out assets --- next.config.ts | 5 ++++- wrangler.json | 8 ++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 wrangler.json diff --git a/next.config.ts b/next.config.ts index 225e495..afcbe7e 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,7 +1,10 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { - output: 'standalone', + output: 'export', + images: { + unoptimized: true, + }, }; export default nextConfig; diff --git a/wrangler.json b/wrangler.json new file mode 100644 index 0000000..01e17b2 --- /dev/null +++ b/wrangler.json @@ -0,0 +1,8 @@ +{ + "name": "linux-app-installer", + "compatibility_date": "2025-12-29", + "assets": { + "directory": "./out", + "binding": "ASSETS" + } +} \ No newline at end of file