Skip to content

Latest commit

 

History

History
32 lines (29 loc) · 594 Bytes

README.md

File metadata and controls

32 lines (29 loc) · 594 Bytes

pillbug Build Status

Quick Static Express Server

#Usage

$ npm install -g pillbug
$ pillbug [port]

Serve current folder static html

$ pillbug
// or
$ pillbug 8009

Optional

$ pillbug --proxy

And make cross-domain calls from your code like:

$.ajax({
  url: '/proxy',
  dataType: 'json',
  type: 'GET',
  data: {url: 'https://gpai-service.herokuapp.com/?id=com.urucas.wifime'},
  success: function(data) {
    // do something with your data
  }
});