@social-mail/social-mail-web-server 1.7.686 → 1.7.688

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-web-server",
3
- "version": "1.7.686",
3
+ "version": "1.7.688",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -5,7 +5,7 @@ export default async function seedUI(config: DBConfig) {
5
5
  await config.saveVersion(UIPackageConfig, {
6
6
  package: "@social-mail/social-mail-client",
7
7
  view: "dist/web/AppIndex",
8
- version: "1.8.186"
8
+ version: "1.8.187"
9
9
  });
10
10
 
11
11
  await config.saveVersion(WebComponentsPackageConfig, {
@@ -130,6 +130,9 @@ export default class WebContentTranspileService
130
130
  if(/pdf\-link/i.test(node.nodeName)) {
131
131
  const src = await this.rewriteLink(node, "src", siteFolder, currentPath);
132
132
  let previewSrc = src.replace("/snapshot/", "/snapshot-preview/").replace(`https://${globalEnv.cdn}`, "/");
133
+ if (previewSrc.startsWith("//")) {
134
+ previewSrc = previewSrc.substring(1);
135
+ }
133
136
  if (previewSrc.includes("?")) {
134
137
  previewSrc += "&snapshotUrl=" + src;
135
138
  } else {