diff --git a/backend/internal/setting.js b/backend/internal/setting.js index c3fc4a1a..e0c37937 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