export interface ISyncThingProject {
id: string;
path: string;
- remoteSyncThingID: string;
+ serverSyncThingID: string;
label?: string;
}
}
// Default settings
-const DEFAULT_GUI_PORT = 8384;
+const DEFAULT_GUI_PORT = 8386;
const DEFAULT_GUI_API_KEY = "1234abcezam";
const DEFAULT_RESCAN_INTERV = 0; // 0: use syncthing-inotify to detect changes
return this.getID()
.flatMap(() => this._getConfig())
.flatMap((stCfg) => {
- let newDevID = prj.remoteSyncThingID;
+ let newDevID = prj.serverSyncThingID;
// Add new Device if needed
let dev = stCfg.devices.filter(item => item.deviceID === newDevID);