(url,res)
| 132 | } |
| 133 | |
| 134 | function sendInternal(url,res) { |
| 135 | if (url.charAt(0) !== '/') { url = '/'+url; } |
| 136 | var point = getPoint(url); |
| 137 | // console.log(url,res,'sent'); |
| 138 | if (point) { |
| 139 | point.handle(res.req, res); |
| 140 | } else { |
| 141 | ss.log.error('Couldn\'t serve', url); |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | // assumed to be dev time frame, if this is to be used for production it should be enhanced |
| 146 | function set(url, content, mimeType) { |
nothing calls this directly
no test coverage detected