diff --git a/src/ui/components/ServerLaunchSection.tsx b/src/ui/components/ServerLaunchSection.tsx index 3dfc5e7..97df6f1 100644 --- a/src/ui/components/ServerLaunchSection.tsx +++ b/src/ui/components/ServerLaunchSection.tsx @@ -105,7 +105,7 @@ export default class ServerLaunchSection extends React.Component await setConfigOption('last_port', this.state.port) // Set IP - await invoke('set_proxy_addr', { addr: this.state.ip + ':' + this.state.port }) + await invoke('set_proxy_addr', { addr: (this.state.httpsEnabled ? 'https':'http') + '://' + this.state.ip + ':' + this.state.port }) await invoke('enable_process_watcher', { process: game_exe })