Skip to content

Commit 6b34f03

Browse files
committed
rm console log
1 parent dba57b0 commit 6b34f03

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

packages/open-next/src/adapters/config/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export const NEXT_DIR = path.join(__dirname, ".next");
1919
export const OPEN_NEXT_DIR = path.join(__dirname, ".open-next");
2020

2121
debug({ NEXT_DIR, OPEN_NEXT_DIR });
22-
console.log(`Next.js directory: ${NEXT_DIR}`);
2322

2423
//TODO: inject these values at build time
2524
export const NextConfig = /* @__PURE__ */ loadConfig(NEXT_DIR);

packages/open-next/src/core/routing/routeMatcher.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ const optionalBasepathPrefixRegex = RoutesManifest.basePath
1111
? `^${RoutesManifest.basePath}/?`
1212
: "^/";
1313

14-
// Add the basePath prefix to the api routes
15-
const apiPrefix = `${RoutesManifest.basePath ?? ""}/api`;
16-
1714
const optionalPrefix = optionalLocalePrefixRegex.replace(
1815
"^/",
1916
optionalBasepathPrefixRegex,

0 commit comments

Comments
 (0)