Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey 2024-06-02 23:44:17 +02:00 committed by GitHub
parent 71e8993503
commit 55e6d9a82c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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