Browse Source

fixed issue if not using mocks

master
Lloyd Brookes 9 years ago
parent
commit
823011c0d1
  1. 1
      .travis.yml
  2. 1
      lib/local-web-server.js

1
.travis.yml

@ -1,3 +1,4 @@
language: node_js language: node_js
node_js: node_js:
- 'node' - 'node'
- '4.2'

1
lib/local-web-server.js

@ -61,6 +61,7 @@ function localWebServer (options) {
options.rewrite = arrayify(options.rewrite) options.rewrite = arrayify(options.rewrite)
options.forbid = arrayify(options.forbid) options.forbid = arrayify(options.forbid)
options.mocks = arrayify(options.mocks)
const debug = require('debug')('local-web-server') const debug = require('debug')('local-web-server')
const Koa = require('koa') const Koa = require('koa')

Loading…
Cancel
Save