We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f069c9 commit 426f382Copy full SHA for 426f382
demo/src/App.tsx
@@ -6,9 +6,11 @@ import './App.css'
6
function App() {
7
8
const monacoRef = useRef<HTMLDivElement>(null)
9
+ const socketUrl = 'ws://' + window.location.hostname + ':8080/'
10
+ console.log(`[demo]: socketUrl`, socketUrl)
11
const [options, setOptions] = useState<LeanMonacoOptions>({
12
websocket: {
- url: 'ws://localhost:8080/'
13
+ url: socketUrl
14
},
15
vscode: {
16
// The default options are defined in `LeanMonaco.start` and can be overwritten here.
0 commit comments