@nestjs-ssr/react 0.1.3 → 0.1.4

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/index.js CHANGED
@@ -460,7 +460,7 @@ exports.RenderService = class _RenderService {
460
460
  this.defaultHead = defaultHead;
461
461
  this.isDevelopment = process.env.NODE_ENV !== "production";
462
462
  this.ssrMode = ssrMode || process.env.SSR_MODE || "string";
463
- const absoluteTemplatePath = path2.join(__dirname, "../templates/entry-server.tsx");
463
+ const absoluteTemplatePath = path2.join(__dirname, "templates/entry-server.tsx");
464
464
  const relativeToApp = path2.relative(process.cwd(), absoluteTemplatePath);
465
465
  if (relativeToApp.startsWith("..")) {
466
466
  this.entryServerPath = absoluteTemplatePath;