Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makes custom server example next.config.js compatible #527

Closed
wants to merge 1 commit into from

Conversation

tmpethick
Copy link

Addresses #468.

@@ -2,7 +2,7 @@ const { createServer } = require('http')
const { parse } = require('url')
const next = require('next')

const app = next({ dev: true })
const app = next({ dev: true, dir: process.cwd() })
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't it be __dirname ?

@nkzawa
Copy link
Contributor

nkzawa commented Dec 27, 2016

We should fix the library instead of this example. I will create a PR.

@nkzawa
Copy link
Contributor

nkzawa commented Dec 27, 2016

Closed in favor of #537

@nkzawa nkzawa closed this Dec 27, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants