mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-04-01 07:37:30 +08:00
feat: Refactor settings management into a dedicated page with new configuration options
This commit is contained in:
@@ -119,11 +119,6 @@ class RemoteControlService {
|
||||
public async startServer(): Promise<string> {
|
||||
console.log('[RemoteControl] Attempting to start server...');
|
||||
|
||||
if (this.httpServer.getIsRunning()) {
|
||||
console.log('[RemoteControl] Server is already running.');
|
||||
throw new Error('Server is already running.');
|
||||
}
|
||||
|
||||
try {
|
||||
const url = await this.httpServer.start();
|
||||
console.log(`[RemoteControl] Server started successfully at: ${url}`);
|
||||
|
||||
Reference in New Issue
Block a user