mirror of
https://github.com/zadam/trilium.git
synced 2026-07-28 17:00:14 +02:00
fix dev detection
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
function isDevEnv() {
|
||||
const manifest = browser.runtime.getManifest();
|
||||
|
||||
return manifest.name.endsWith('(dev)') >= 0;
|
||||
return manifest.name.endsWith('(dev)');
|
||||
}
|
||||
|
||||
class TriliumServerFacade {
|
||||
|
||||
Reference in New Issue
Block a user