@gigadrive/network-config 3.1.1 → 3.1.2

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.mjs CHANGED
@@ -1198,15 +1198,13 @@ var VercelBuildOutputParser = class extends Effect12.Service()("VercelBuildOutpu
1198
1198
  destination: functionEntrypointPath,
1199
1199
  handler: handlerType
1200
1200
  };
1201
- const configRoutes = config.routes?.filter((r) => "dest" in r && r.dest === `/${functionName}`).map(
1202
- (r) => ({
1203
- path: ("src" in r ? r.src : void 0) ?? `/${functionName}`,
1204
- methods: ["ANY"],
1205
- headers: {},
1206
- destination: functionEntrypointPath,
1207
- handler: handlerType
1208
- })
1209
- ) ?? [];
1201
+ const configRoutes = config.routes?.filter((r) => "dest" in r && r.dest === `/${functionName}`).map((r) => ({
1202
+ path: ("src" in r ? r.src : void 0) ?? `/${functionName}`,
1203
+ methods: ["ANY"],
1204
+ headers: {},
1205
+ destination: functionEntrypointPath,
1206
+ handler: handlerType
1207
+ })) ?? [];
1210
1208
  if (!result.routes) {
1211
1209
  result.routes = [];
1212
1210
  }