Improve readability
This commit is contained in:
		
							parent
							
								
									7d7d391d5b
								
							
						
					
					
						commit
						d680b6bd9b
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -43,12 +43,14 @@ app.use('/assets', express.static(`${__dirname}/assets`, {
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * ServiceWroker
 | 
					 * ServiceWroker
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
app.get(/^\/sw\.(.+?)\.js$/, (req, res) => res.sendFile(`${__dirname}/assets/sw.${req.params[0]}.js`));
 | 
					app.get(/^\/sw\.(.+?)\.js$/, (req, res) =>
 | 
				
			||||||
 | 
						res.sendFile(`${__dirname}/assets/sw.${req.params[0]}.js`));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Manifest
 | 
					 * Manifest
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
app.get('/manifest.json', (req, res) => res.sendFile(`${__dirname}/assets/manifest.json`));
 | 
					app.get('/manifest.json', (req, res) =>
 | 
				
			||||||
 | 
						res.sendFile(`${__dirname}/assets/manifest.json`));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Common API
 | 
					 * Common API
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue