mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	/nodes end-point should be text/html not json
This commit is contained in:
		| @@ -37,7 +37,7 @@ function createServer(_server,_settings) { | ||||
|     flowfile = settings.flowFile || 'flows_'+require('os').hostname()+'.json'; | ||||
|      | ||||
|     app.get("/nodes",function(req,res) { | ||||
|         res.json(redNodes.getNodeConfigs()); | ||||
|         res.send(redNodes.getNodeConfigs()); | ||||
|     }); | ||||
|      | ||||
|     app.get("/flows",function(req,res) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user