Skip to content

Commit

Permalink
chore: use different port for serve
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 30, 2020
1 parent c878e6d commit 60d86e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/serve/serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface ServeOptions {
}

export async function serve(options: ServeOptions = {}) {
const port = options.port !== undefined ? options.port : 3000
const port = options.port !== undefined ? options.port : 5000
const site = await resolveConfig(options.root)

const server = http.createServer(sirv(site.outDir, { dev: true, etag: true }))
Expand Down

0 comments on commit 60d86e1

Please sign in to comment.