Skip to content

Commit 51f3331

Browse files
committed
fix:bug
1 parent b07ec45 commit 51f3331

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

chat2db-client/src/main/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ app.on('before-quit', () => {
7979
'Content-Type': 'application/json',
8080
},
8181
method: 'POST',
82-
url: `${baseUrl}/api/system/stop?forceQuit=true`,
82+
url: `${baseUrl}/api/system/stop?forceQuit=${_forceQuitCode}`,
8383
});
8484
request.end();
8585
} catch (error) {}

chat2db-client/src/store/setting/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const initSetting = {
2424
aiSqlSource: AIType.CHAT2DBAI,
2525
},
2626
hasWhite: false,
27-
holdingService: true,
27+
holdingService: false,
2828
}
2929

3030
export const useSettingStore: UseBoundStoreWithEqualityFn<StoreApi<ISettingState>> = createWithEqualityFn(

0 commit comments

Comments
 (0)