basic fixes for the server

This commit is contained in:
Yeicor
2024-03-02 18:10:49 +01:00
parent beb7ee6ef5
commit 2ff9ac9e7e
4 changed files with 39 additions and 29 deletions

View File

@@ -2,11 +2,11 @@
export const settings = {
preloadModels: [
// @ts-ignore
new URL('../../assets/fox.glb', import.meta.url).href,
// new URL('../../assets/fox.glb', import.meta.url).href,
// @ts-ignore
new URL('../../assets/logo.glb', import.meta.url).href,
// new URL('../../assets/logo.glb', import.meta.url).href,
// Websocket URLs automatically listen for new models from the python backend
// "ws://localhost:32323/"
"ws://192.168.1.132:32323/"
],
displayLoadingEveryMs: 1000, /* How often to display partially loaded models */
checkServerEveryMs: 100, /* How often to check for a new server */