@social-mail/social-mail-web-server 1.4.751 → 1.4.753
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 +3 -1
- 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 +3 -1
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();
|
|
@@ -358,7 +360,7 @@ export default class SnapshotService {
|
|
|
358
360
|
}
|
|
359
361
|
|
|
360
362
|
fileName ??= child.name;
|
|
361
|
-
link = `${cdn}/api/site/snapshot/${transform}/${this.
|
|
363
|
+
link = `${cdn}/api/site/snapshot/${transform}/${this.snapshotRoot.appFileID}/${child.fileContentID}/${fileName}${query}`;
|
|
362
364
|
return link;
|
|
363
365
|
|
|
364
366
|
}
|