This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// const BASE_URL = 'http://localhost:8443/api'; | |
const BASE_URL = 'http://192.168.2.1:8443/api'; | |
class SwitchUI { | |
constructor() { | |
this.selectedPort = null; | |
this.portData = {}; // to store backend port data | |
this.currentContent = 'dashboard'; | |
this.notifications = []; |