Thanks George, that's a perfect starting point. I replaced the code
in main.js with:
exports.app = function(request) {
return {
status: 200,
headers: {"Content-Type": "text/plain"},
body: ["hello INTERWEB"]
}
}
and it worked! I'm going to look a bit more into the nitro middleware
once I get a bit more of a feel for the way things work.
gJS.
On May 9, 1:00 pm, George Moschovitis <
george.moschovi...@gmail.com>
wrote: