msg.headers['content-type'] = "text/css";
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/bdde11b9-6399-4340-bd20-c6d89dcb6eca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
1. the Template node has 'CSS' in the list of Syntax Highlighting options... is there something else you had in mind?
2. that has been mooted before - allow you to set some of the response options in the node itself... just not been captured anywhere to do anything about it. Have added an item to the backlog to cover it: https://trello.com/c/QQojUFlW/62-http-response-set-response-properties-in-the-node-itself
3. See, for example, the geofence node that serves up additional resources for its edit template - https://github.com/hardillb/node-red-node-geofence/blob/master/geofence.js#L116
Jean-Philippe Encausse - R&D / IoT / Innovations http://www.encausse.net - http://arm-avocats.fr Twitter: @JpEncausse - Mob: +33 6 82 12 56 99 Do it Once, Use it Twice ~ Do it Twice, Make It Once |
Is there - in 15.1 (or should be)
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/8gRbUYlEfyc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/CACXWFw%2BR1bABYCqNM-R7x9iWQmn_Lya7Bk3jayEUu2-wf3ARmA%40mail.gmail.com.