appstage 0.2.23 → 0.2.24

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.cjs CHANGED
@@ -130,7 +130,6 @@ const files = (params) => {
130
130
  }
131
131
  for (let i = 0; i < suffixes.length && filePath === null; i++) for (let j = 0; j < exts.length && filePath === null; j++) filePath = await resolve(base, `${urlPath}${suffixes[i]}.${exts[j]}`);
132
132
  }
133
- for (let i = 0; i < suffixes.length && filePath === null; i++) for (let j = 0; j < exts.length && filePath === null; j++) filePath = await resolve(base, `${urlPath}${suffixes[i]}`, `index.${exts[j]}`);
134
133
  for (let i = 0; i < suffixes.length && filePath === null; i++) for (let j = 0; j < exts.length && filePath === null; j++) filePath = await resolve(base, urlPath, `index${suffixes[i]}.${exts[j]}`);
135
134
  }
136
135
  if (filePath === null) {
package/dist/index.mjs CHANGED
@@ -104,7 +104,6 @@ const files = (params) => {
104
104
  }
105
105
  for (let i = 0; i < suffixes.length && filePath === null; i++) for (let j = 0; j < exts.length && filePath === null; j++) filePath = await resolve$1(base, `${urlPath}${suffixes[i]}.${exts[j]}`);
106
106
  }
107
- for (let i = 0; i < suffixes.length && filePath === null; i++) for (let j = 0; j < exts.length && filePath === null; j++) filePath = await resolve$1(base, `${urlPath}${suffixes[i]}`, `index.${exts[j]}`);
108
107
  for (let i = 0; i < suffixes.length && filePath === null; i++) for (let j = 0; j < exts.length && filePath === null; j++) filePath = await resolve$1(base, urlPath, `index${suffixes[i]}.${exts[j]}`);
109
108
  }
110
109
  if (filePath === null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appstage",
3
- "version": "0.2.23",
3
+ "version": "0.2.24",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -181,16 +181,6 @@ export const files: Controller<string | FilesParams> = (params) => {
181
181
  }
182
182
  }
183
183
 
184
- // /x.en/index.html /x.en/index.htm /x/index.html /x/index.htm /x.ru/index.html /x.ru/index.htm
185
- for (let i = 0; i < suffixes.length && filePath === null; i++) {
186
- for (let j = 0; j < exts.length && filePath === null; j++)
187
- filePath = await resolve(
188
- base,
189
- `${urlPath}${suffixes[i]}`,
190
- `index.${exts[j]}`,
191
- );
192
- }
193
-
194
184
  // /x/index.en.html /x/index.en.htm /x/index.html /x/index.htm /x/index.ru.html /x/index.ru.htm
195
185
  for (let i = 0; i < suffixes.length && filePath === null; i++) {
196
186
  for (let j = 0; j < exts.length && filePath === null; j++)