parent
71e8993503
commit
55e6d9a82c
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ const internalSetting = {
|
||||||
if (row.id === 'default-site') {
|
if (row.id === 'default-site') {
|
||||||
// write the html if we need to
|
// write the html if we need to
|
||||||
if (row.value === 'html') {
|
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
|
// Configure nginx
|
||||||
|
|
Loading…
Reference in a new issue