Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions packages/renderer-layer/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ export const App: React.FC = () => {
document.title = `Renderer | ${rendererName}`

/** URL to send server requests to: */
const serverApiUrl = 'http://localhost:8080'
const serverApiUrl = `http://${window.location.host}`
/** URL to open websocket connection to */
// const rendererApiUrl = 'ws://localhost:8080/rendererApi/v1'
const rendererApiUrl = 'ws://localhost:8080'
// const rendererApiUrl = 'ws://google.com'
const rendererApiUrl = `ws://${window.location.host}`

const graphicCache = new GraphicCache(serverApiUrl)
const layersManager = new LayersManager(graphicCache)
Expand Down
Loading