Fix api routes and missing translations and improve reconnection for terminals
This commit is contained in:
1 parent
eeea3479d1
commit
3e8e15508a
9 files changed
+228
-173
No files matched your search
+1
-1
@@ -129,7 +129,7 @@ ipcMain.handle('save-server-config', (event, config) => {
|
||||
|
||||
ipcMain.handle('test-server-connection', async (event, serverUrl) => {
|
||||
try {
|
||||
const { default: fetch } = await import('node-fetch');
|
||||
const fetch = require('node-fetch');
|
||||
|
||||
// Try multiple endpoints to test the connection
|
||||
const testUrls = [
|
||||
|
||||
Reference in new issue
Block a user