Edit path for the metrics.json
This commit is contained in:
		
							
								
								
									
										1
									
								
								main.js
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								main.js
									
									
									
									
									
								
							@@ -7,6 +7,7 @@ const fs = require('fs');
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
module.exports.setMetricFile = (path) => {
 | 
					module.exports.setMetricFile = (path) => {
 | 
				
			||||||
    basics.setMetricsFile(path);
 | 
					    basics.setMetricsFile(path);
 | 
				
			||||||
 | 
					    const metricsFile = basics.getMetricsFile();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "webmetrik",
 | 
					  "name": "webmetrik",
 | 
				
			||||||
  "version": "0.1.2",
 | 
					  "version": "0.1.3",
 | 
				
			||||||
  "description": "NodeJS - npm package - Make metrics and make it available by making a httpServer",
 | 
					  "description": "NodeJS - npm package - Make metrics and make it available by making a httpServer",
 | 
				
			||||||
  "main": "main.js",
 | 
					  "main": "main.js",
 | 
				
			||||||
  "keywords": [],
 | 
					  "keywords": [],
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user