dx: replace . with / at the end of served url (#210)

pull/227/head
Domantas 4 years ago committed by GitHub
parent 8a71fd1944
commit 1026a20488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,6 +30,6 @@ export async function serve(options: ServeOptions = {}) {
.use(compress, serve) .use(compress, serve)
.listen(port, (err: any) => { .listen(port, (err: any) => {
if (err) throw err if (err) throw err
console.log(`Built site served at http://localhost:${port}.\n`) console.log(`Built site served at http://localhost:${port}/\n`)
}) })
} }

Loading…
Cancel
Save