diff --git a/src/ui/Test.tsx b/src/ui/Test.tsx index 77f2d1b..90894ac 100644 --- a/src/ui/Test.tsx +++ b/src/ui/Test.tsx @@ -4,7 +4,7 @@ import {invoke} from '@tauri-apps/api/tauri' import {dataDir} from '@tauri-apps/api/path' async function startProxy() { - await invoke('connect', { port: 2222, certificate_path: await dataDir() + '\\ca' }) + await invoke('connect', { port: 2222, certificatePath: await dataDir() + '\\ca' }) } async function stopProxy() { diff --git a/src/ui/components/ServerLaunchSection.tsx b/src/ui/components/ServerLaunchSection.tsx index a614cc1..ddfcb58 100644 --- a/src/ui/components/ServerLaunchSection.tsx +++ b/src/ui/components/ServerLaunchSection.tsx @@ -106,7 +106,7 @@ export default class ServerLaunchSection extends React.Component }) // Connect to proxy - await invoke('connect', { port: 8365, certificate_path: await dataDir() + '\\ca' }) + await invoke('connect', { port: 8365, certificatePath: await dataDir() + '\\ca' }) } // Launch the program