Skip to content

Commit

Permalink
close #861
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Jun 2, 2024
1 parent 71e8993 commit 55e6d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/internal/setting.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55e6d9a

Please sign in to comment.