From 55e6d9a82cd848da1f090e02e5c9c4f2db2d7f68 Mon Sep 17 00:00:00 2001 From: Zoey Date: Sun, 2 Jun 2024 23:44:17 +0200 Subject: [PATCH] close #861 Signed-off-by: Zoey --- backend/internal/setting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/setting.js b/backend/internal/setting.js index c3fc4a1af..e0c379374 100644 --- a/backend/internal/setting.js +++ b/backend/internal/setting.js @@ -33,7 +33,7 @@ const internalSetting = { if (row.id === 'default-site') { // write the html if we need to if (row.value === 'html') { - fs.writeFileSync('/data/nginx/etc/index.html', row.meta.html, { encoding: 'utf8' }); + fs.writeFileSync('/data/etc/html/index.html', row.meta.html, { encoding: 'utf8' }); } // Configure nginx