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