@webqit/webflo 0.11.24 → 0.11.27

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
@@ -12,7 +12,7 @@
12
12
  "vanila-javascript"
13
13
  ],
14
14
  "homepage": "https://webqit.io/tooling/webflo",
15
- "version": "0.11.24",
15
+ "version": "0.11.27",
16
16
  "license": "MIT",
17
17
  "repository": {
18
18
  "type": "git",
@@ -31,8 +31,8 @@
31
31
  },
32
32
  "bin": {
33
33
  "webflo": "src/webflo.js",
34
- "webflo-certbot-http-auth-hook": "src/services/certbot/http-auth-hook.js",
35
- "webflo-certbot-http-cleanup-hook": "src/services/certbot/http-cleanup-hook.js"
34
+ "webflo-certbot-http-auth-hook": "src/services-pi/certbot/http-auth-hook.js",
35
+ "webflo-certbot-http-cleanup-hook": "src/services-pi/certbot/http-cleanup-hook.js"
36
36
  },
37
37
  "dependencies": {
38
38
  "@octokit/webhooks": "^7.15.1",
@@ -273,8 +273,8 @@ function declareRoutesObj(gen, routesDir, targetDir, varName, routing) {
273
273
  let indexCount = 0;
274
274
  if (Fs.existsSync(_routesDir)) {
275
275
  walk(_routesDir, (file, namespace, relativePath) => {
276
- //relativePath = relativePath.replace(/\\/g, '/');
277
- if (file.replace(/\\/g, '/').endsWith('/index.js')) {
276
+ relativePath = relativePath.replace(/\\/g, '/');
277
+ if (relativePath.endsWith('/index.js')) {
278
278
  // Import code
279
279
  let routeName = 'index' + (++ indexCount);
280
280
  // IMPORTANT: we;re taking a step back here so that the parent-child relationship for