mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	fix dev detection
This commit is contained in:
		
							parent
							
								
									cf97c12516
								
							
						
					
					
						commit
						94222e80cf
					
				@ -1,7 +1,7 @@
 | 
				
			|||||||
function isDevEnv() {
 | 
					function isDevEnv() {
 | 
				
			||||||
	const manifest = browser.runtime.getManifest();
 | 
						const manifest = browser.runtime.getManifest();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return manifest.name.endsWith('(dev)') >= 0;
 | 
						return manifest.name.endsWith('(dev)');
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class TriliumServerFacade {
 | 
					class TriliumServerFacade {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user