Fix bug in serve

This commit is contained in:
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

View file

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