From e2793d06663b5a6012602cdddd03ea2315a70801 Mon Sep 17 00:00:00 2001 From: tdevelope Date: Sun, 15 Feb 2026 17:49:41 +0200 Subject: [PATCH 1/4] fix: copy all frontend files to /var/www/html for proper application rendering --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9d171d8e..a5cef295 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -45,6 +45,6 @@ jobs: npm install && npm run build && sudo rm -rf /var/www/html/* && - sudo cp -r .next public package.json /var/www/html/ && + sudo cp -r out/* /var/www/html/ && sudo chown -R www-data:www-data /var/www/html " \ No newline at end of file From 35450aacb7243c7fb3f00769029a06a7b5faebca Mon Sep 17 00:00:00 2001 From: developerfsbaum Date: Mon, 16 Feb 2026 00:41:38 +0200 Subject: [PATCH 2/4] Update page.tsx --- frontend/app/register/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/register/page.tsx b/frontend/app/register/page.tsx index fc6220d7..a70a43b8 100644 --- a/frontend/app/register/page.tsx +++ b/frontend/app/register/page.tsx @@ -117,7 +117,7 @@ export default function RegisterPage() { handleChange("lastName", e.target.value)} From 2095707007631d1f3689395e22bc6acb79cdad01 Mon Sep 17 00:00:00 2001 From: tdevelope Date: Wed, 25 Feb 2026 18:15:44 +0200 Subject: [PATCH 3/4] fix: copy frontend build correctly --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a5cef295..47a7c826 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -45,6 +45,6 @@ jobs: npm install && npm run build && sudo rm -rf /var/www/html/* && - sudo cp -r out/* /var/www/html/ && + sudo cp -r out/. /var/www/html/ && sudo chown -R www-data:www-data /var/www/html " \ No newline at end of file From 0df692daeb5b1b739c4f0e9fab612d2c02d01c99 Mon Sep 17 00:00:00 2001 From: tdevelope Date: Wed, 25 Feb 2026 18:16:04 +0200 Subject: [PATCH 4/4] fix: copy frontend build correctly --- frontend/next.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/next.config.mjs b/frontend/next.config.mjs index fdf72ae3..59094281 100644 --- a/frontend/next.config.mjs +++ b/frontend/next.config.mjs @@ -1,5 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + output: 'export', typescript: { ignoreBuildErrors: true, },