Skip to content

Commit

Permalink
Update noVNC import paths due to package structure changes. (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
li-ruihao authored Jul 22, 2024
1 parent eb4b780 commit c150286
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@mui/lab": "^5.0.0-alpha.114",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@novnc/novnc": "^1.4.0",
"@novnc/novnc": "^1.5.0",
"axios": "^1.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
Expand Down
6 changes: 3 additions & 3 deletions client/src/actions/vnc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*/

import {ICtrlError, ICtrlStep} from './codes';
import RFB from '@novnc/novnc/core/rfb';
import KeyTable from '@novnc/novnc/core/input/keysym';
import keysyms from '@novnc/novnc/core/input/keysymdef';
import RFB from '@novnc/novnc/lib/rfb';
import KeyTable from '@novnc/novnc/lib/input/keysym';
import keysyms from '@novnc/novnc/lib/input/keysymdef';
import {
SSHAuthenticationWrong,
SSHHostUnreachableRefresh,
Expand Down
2 changes: 1 addition & 1 deletion client/src/interface/pages/VNCViewer/VNCSpeedDial.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import './index.css';
import {focusOnKeyboard} from '../../../actions/vnc';
import axios from 'axios';
import {launch_audio} from '../../../actions/audio';
import RFB from '@novnc/novnc/core/rfb';
import RFB from '@novnc/novnc/lib/rfb';
import {IOSSwitch} from '../../components/IOSSwitch';
import ResetVNCDialog from '../../components/ResetVNCDialog';

Expand Down
2 changes: 1 addition & 1 deletion client/src/interface/pages/VNCViewer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {VNCSteps} from '../../components/Loading/steps';
import VNCSpeedDial from './VNCSpeedDial';
import {focusOnKeyboard, vncConnect} from '../../../actions/vnc';
import Toolbar from '../../components/Toolbar';
import KeyTable from '@novnc/novnc/core/input/keysym';
import KeyTable from '@novnc/novnc/lib/input/keysym';
import {isIOS} from '../../../actions/utils';
import {updateTitleAndIcon} from '../../../actions/common';
import BackgroundLetterAvatar from '../../components/BackgroundLetterAvatar';
Expand Down

0 comments on commit c150286

Please sign in to comment.