mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	fix webmanifest and robots.txt
This commit is contained in:
		
							parent
							
								
									0480f391d3
								
							
						
					
					
						commit
						8ce9dcf4aa
					
				@ -52,6 +52,8 @@ app.use(`/node_modules/@excalidraw/excalidraw/dist/`, express.static(path.join(_
 | 
			
		||||
app.use(`/${assetPath}/node_modules/@excalidraw/excalidraw/dist/`, express.static(path.join(__dirname, '..', 'node_modules/@excalidraw/excalidraw/dist/')));
 | 
			
		||||
app.use(`/${assetPath}/images`, express.static(path.join(__dirname, '..', 'images')));
 | 
			
		||||
app.use(`/assets/vX/images`, express.static(path.join(__dirname, '..', 'images')));
 | 
			
		||||
app.use(`/manifest.webmanifest`, express.static(path.join(__dirname, 'public/manifest.webmanifest')));
 | 
			
		||||
app.use(`/robots.txt`, express.static(path.join(__dirname, 'public/robots.txt')));
 | 
			
		||||
const sessionParser = session({
 | 
			
		||||
    secret: sessionSecret,
 | 
			
		||||
    resave: false, // true forces the session to be saved back to the session store, even if the session was never modified during the request.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user