@social-mail/social-mail-web-server 1.4.751 → 1.4.752
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/services/files/SnapshotService.d.ts.map +1 -1
- package/dist/server/services/files/SnapshotService.js +2 -0
- package/dist/server/services/files/SnapshotService.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/server/services/files/SnapshotService.ts +2 -0
package/package.json
CHANGED
|
@@ -119,6 +119,7 @@ export default class SnapshotService {
|
|
|
119
119
|
await this.copyChildren(db, folder, snapshotRoot);
|
|
120
120
|
|
|
121
121
|
for (const { source, dest, siteRoot} of this.cssFiles) {
|
|
122
|
+
await db.changeSet.getEntry(source).loadNavigationAsync((x) => x.fileContent);
|
|
122
123
|
const file = await this.tempFileService.downloadAppFile(source);
|
|
123
124
|
|
|
124
125
|
let html = await file.readAsText();
|
|
@@ -132,6 +133,7 @@ export default class SnapshotService {
|
|
|
132
133
|
}
|
|
133
134
|
|
|
134
135
|
for (const { source, dest, siteRoot} of this.htmlFiles) {
|
|
136
|
+
await db.changeSet.getEntry(source).loadNavigationAsync((x) => x.fileContent);
|
|
135
137
|
const file = await this.tempFileService.downloadAppFile(source);
|
|
136
138
|
|
|
137
139
|
let html = await file.readAsText();
|