Files
cypress/packages/https-proxy/lib/proxy.coffee
2017-04-21 10:34:19 -04:00

13 lines
218 B
CoffeeScript

CA = require("./ca")
Server = require("./server")
module.exports = {
create: (dir, port, options) ->
CA.create(dir)
.then (ca) ->
Server.create(ca, port, options)
reset: ->
Server.reset()
}