Fix bug in serve

master
Jonatan Nilsson 2019-09-23 19:19:08 +00:00 committed by GitHub
parent c2009f8e09
commit 4f529e22dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
import send from 'koa-send'
import defaults from './defaults'
import defaults from './defaults.mjs'
export function serve(docRoot, pathname, options = {}) {
options.root = docRoot