I am basically doing this:

if (event.kind == 5393) {

response.setHeader('content-type', "text/css")

response.send(event.content)

} else if (event.kind == 5392) {

response.setHeader('content-type', "text/html")

response.send(event.content)

} else if (event.kind == 5394) {

response.setHeader('content-type', "text/javascript")

response.send(event.content)

}

Reply to this note

Please Login to reply.

Discussion

Awesome I will look into this. Yes, I don’t want to pollute everyone’s feed with html code. This was just the easiest way for me to get a minimal product out. I recently learned how to work with kind 30023, so it shouldn’t be too hard to work with other kinds