ベースHTMLは immutableキャッシュしないようにする
This commit is contained in:
		
							parent
							
								
									efae7a7bce
								
							
						
					
					
						commit
						5b5de6a89c
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -122,8 +122,7 @@ router.get('/notes/:note', async ctx => {
 | 
				
			||||||
router.get('*', async ctx => {
 | 
					router.get('*', async ctx => {
 | 
				
			||||||
	await send(ctx, `app/base.html`, {
 | 
						await send(ctx, `app/base.html`, {
 | 
				
			||||||
		root: client,
 | 
							root: client,
 | 
				
			||||||
		maxage: ms('3 days'),
 | 
							maxage: ms('5m')
 | 
				
			||||||
		immutable: true
 | 
					 | 
				
			||||||
	});
 | 
						});
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue