fix(core): Refactor filesystem usage to smartfs async provider, update dependencies, tests and nginx config paths

This commit is contained in:
2025-11-27 13:14:58 +00:00
parent 5700522b8a
commit 5781204c88
16 changed files with 7766 additions and 4139 deletions
+3 -3
View File
@@ -53,10 +53,10 @@ export class NginxHost implements IHostConfig {
this.destination,
this.destinationPort
);
plugins.smartfile.memory.toFsSync(this.configString, filePathConfig);
await plugins.fs.file(filePathConfig).write(this.configString);
// write ssl
plugins.smartfile.memory.toFsSync(this.privateKey, filePathPrivate);
plugins.smartfile.memory.toFsSync(this.publicKey, filePathPublic);
await plugins.fs.file(filePathPrivate).write(this.privateKey);
await plugins.fs.file(filePathPublic).write(this.publicKey);
}
}