You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Chore: Web: Skip secondary single-instance check in dev mode (#13225)
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
This commit is contained in:
@@ -3,6 +3,7 @@ import { Platform } from 'react-native';
|
||||
|
||||
const lockToSingleInstance = async () => {
|
||||
if (Platform.OS !== 'web') return;
|
||||
if (__DEV__) return;
|
||||
|
||||
const channel = new BroadcastChannel('single-instance-lock');
|
||||
channel.postMessage('app-opened');
|
||||
|
||||
Reference in New Issue
Block a user