mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-29 08:38:17 +08: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