Skip to content

Commit

Permalink
fix(nextjs): fix custom server templates (#17266)
Browse files Browse the repository at this point in the history
  • Loading branch information
puku0x authored May 29, 2023
1 parent 79086f7 commit 0d48d4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function main() {
await nextApp.prepare();

const server = createServer((req, res) => {
const parsedUrl = parse(req.url, true);
const parsedUrl = parse(req.url ?? '', true);
handle(req, res, parsedUrl);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"module": "commonjs",
"noEmit": false,
"incremental": true,
"tsBuildInfoFile": "<%= offsetFromRoot %>/tmp/buildcache/<%= projectRoot %>/server",
"tsBuildInfoFile": "<%= offsetFromRoot %>tmp/buildcache/<%= projectRoot %>/server",
"types": [
"node"
]
Expand Down

1 comment on commit 0d48d4d

@vercel
Copy link

@vercel vercel bot commented on 0d48d4d May 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-five.vercel.app
nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev

Please sign in to comment.