Skip to content

Commit

Permalink
fix(nextjs): fix custom server templates
Browse files Browse the repository at this point in the history
  • Loading branch information
puku0x committed May 27, 2023
1 parent 8efb67a commit 5a9db75
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

0 comments on commit 5a9db75

Please sign in to comment.