Fix bug in serve
This commit is contained in:
parent
c2009f8e09
commit
4f529e22dd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue