Open phenomnomnominal opened 8 years ago
if I do something like
var data = require('foo.json'); whenGet( ... ).respond(function () { return [200, data, { some: 'header' }]; });
This is stringified and send to the client, where data obviously doesn't exist. I'm going to work on a PR to fix this.
data
if I do something like
This is stringified and send to the client, where
data
obviously doesn't exist. I'm going to work on a PR to fix this.