Skip to content

Commit

Permalink
Force hardware interface iframes to load from localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
hobinjk-ptc committed May 30, 2023
1 parent 662efb2 commit 20ab4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/webInterface/gui/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ realityServer.updateManageFrames = function () {
};

realityServer.selectHardwareInterfaceSettings = function (interfaceName) {
let ipAddress = realityServer.states.ipAdress.interfaces[realityServer.states.ipAdress.activeInterface];
let ipAddress = 'localhost'; // realityServer.states.ipAdress.interfaces[realityServer.states.ipAdress.activeInterface];
let pathToConfig = 'http://' + ipAddress + ':' + realityServer.states.serverPort + '/hardwareInterface/' + interfaceName + '/config.html';
let configFrame = document.querySelector('.configFrame');
configFrame.src = pathToConfig;
Expand Down

0 comments on commit 20ab4e7

Please sign in to comment.