@bprotsyk/aso-core 2.0.18 → 2.0.19

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.
@@ -180,7 +180,7 @@ class ServerUtil {
180
180
  }
181
181
  }
182
182
  async generateNginxConfig(domain, rootPath) {
183
- const template = fs_1.default.readFileSync("templates/nginx-template.conf", "utf8");
183
+ const template = fs_1.default.readFileSync("src\templetes\nginx-template.conf", "utf8");
184
184
  const config = mustache_1.default.render(template, { domain, rootPath });
185
185
  return config;
186
186
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "2.0.18",
3
+ "version": "2.0.19",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -219,7 +219,7 @@ export class ServerUtil {
219
219
  }
220
220
 
221
221
  async generateNginxConfig(domain: string, rootPath: string): Promise<string> {
222
- const template = fs.readFileSync("templates/nginx-template.conf", "utf8");
222
+ const template = fs.readFileSync("src\templetes\nginx-template.conf", "utf8");
223
223
  const config = mustache.render(template, { domain, rootPath });
224
224
  return config;
225
225
  }