webpro / dyson

Node server for dynamic, fake JSON.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dummy image service is not registered automatically

dz902 opened this issue · comments

commented

In the README it says a dummy image service will be registered, but it was not. After installing dyson-image, it was still not registered, and I could not find how to register this service.

Please advise. Thanks!

You can also install https://github.com/webpro/dyson-generators to do this:

var g = require('dyson-generators');
module.exports = {
  path: '/foo',
  template: {
    img: g.image.base64({width:200, height: 200});
  }
};

And then there's https://github.com/webpro/dyson-demo.

commented

Thanks, just found out the first link.