Compare commits

...

4 Commits

Author SHA1 Message Date
Yeicor
dbeae5632e Automatically update version to 0.10.1 2025-07-26 15:28:24 +00:00
Yeicor
59116e4a1a Merge remote-tracking branch 'origin/master' 2025-07-26 17:27:41 +02:00
Yeicor
0be0103c3c Fix loading from dev server 2025-07-26 17:27:32 +02:00
Yeicor
d6deef9e7f Automatically update version to 0.10.0 2025-07-26 15:21:57 +00:00
3 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ export class NetworkManager extends EventTarget {
* Updates will be emitted as "update" events, including the download URL and the model name. * Updates will be emitted as "update" events, including the download URL and the model name.
*/ */
async load(url: string | Blob) { async load(url: string | Blob) {
if (url instanceof String && (url.startsWith("dev+") || url.startsWith("dev "))) { if (!(url instanceof Blob) && (url.startsWith("dev+") || url.startsWith("dev "))) {
let baseUrl = new URL(url.slice(4)); let baseUrl = new URL(url.slice(4));
baseUrl.searchParams.set("api_updates", "true"); baseUrl.searchParams.set("api_updates", "true");
await this.monitorDevServer(baseUrl); await this.monitorDevServer(baseUrl);

View File

@@ -1,6 +1,6 @@
{ {
"name": "yet-another-cad-viewer", "name": "yet-another-cad-viewer",
"version": "0.10.0-rc.6", "version": "0.10.1",
"description": "", "description": "",
"license": "MIT", "license": "MIT",
"private": true, "private": true,

View File

@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry] [tool.poetry]
name = "yacv-server" name = "yacv-server"
version = "0.10.0-rc.6" version = "0.10.1"
description = "Yet Another CAD Viewer (server)" description = "Yet Another CAD Viewer (server)"
authors = ["Yeicor <4929005+Yeicor@users.noreply.github.com>"] authors = ["Yeicor <4929005+Yeicor@users.noreply.github.com>"]
license = "MIT" license = "MIT"