Skip to content

Commit

Permalink
Attempt to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb committed Nov 2, 2023
1 parent 6c31061 commit bd8374a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nsm/scripts/generate-routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@ async function generateNsmPagesManifest(rootDir, outputDir) {
.replace(parsedPagePath.ext, "")
.replace("index", "")

const filePathWithoutExtension = path.join(
const filePathWithoutExtension = path.posix.join(
parsedPagePath.dir,
filenameWithoutExtension,
)

console.log({filePathWithoutExtension, relativePagePath})

manifest[`/${filePathWithoutExtension}`] = `pages/${relativePagePath}`
}

Expand Down

0 comments on commit bd8374a

Please sign in to comment.