mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 13:46:13 +08:00 
			
		
		
		
	Fix up some formatting
This commit is contained in:
		@@ -66,9 +66,9 @@ let needSetup = false;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    console.log("Adding /metrics")
 | 
					    console.log("Adding /metrics")
 | 
				
			||||||
     app.get('/metrics', function (req, res) {
 | 
					     app.get('/metrics', function (req, res) {
 | 
				
			||||||
   res.set('Content-Type', prom_client.register.contentType);
 | 
					     res.set('Content-Type', prom_client.register.contentType);
 | 
				
			||||||
   res.end(prom_client.register.metrics());
 | 
					     res.end(prom_client.register.metrics());
 | 
				
			||||||
 });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    app.get('*', function(request, response, next) {
 | 
					    app.get('*', function(request, response, next) {
 | 
				
			||||||
        response.sendFile(process.cwd() + '/dist/index.html');
 | 
					        response.sendFile(process.cwd() + '/dist/index.html');
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user