mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-14 23:44:01 +02:00
fix(remote): always send remote settings on init
This commit is contained in:
@@ -29,9 +29,8 @@ export const useRemote = () => {
|
|||||||
|
|
||||||
// Initialize the remote
|
// Initialize the remote
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!isRemoteEnabled) {
|
// we must send this EVEN IF the remote is disabled, as this is what
|
||||||
return;
|
// makes sure that the main process gets the port/username/password on startup
|
||||||
}
|
|
||||||
|
|
||||||
logFn.debug(logMsg[LogCategory.REMOTE].initializingRemoteSettings, {
|
logFn.debug(logMsg[LogCategory.REMOTE].initializingRemoteSettings, {
|
||||||
category: LogCategory.REMOTE,
|
category: LogCategory.REMOTE,
|
||||||
|
|||||||
Reference in New Issue
Block a user