@virtualdisplay.io/client 3.2.0 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -369,6 +369,7 @@ function enableDebugMode() {
369
369
  function isDebugMode() {
370
370
  return logger.getLevel() === "debug";
371
371
  }
372
+ const __vite_import_meta_env__ = {};
372
373
  class IframeBuilder {
373
374
  constructor(options, eventBus) {
374
375
  this.eventBus = eventBus;
@@ -421,9 +422,10 @@ class IframeBuilder {
421
422
  * Get server URL from environment or use default
422
423
  */
423
424
  getServerUrl() {
424
- {
425
- return "http://localhost:4173/";
425
+ if (__vite_import_meta_env__?.VITE_VIRTUALDISPLAY_SERVER_HOST !== void 0) {
426
+ return void 0;
426
427
  }
428
+ return this.defaultServer;
427
429
  }
428
430
  /**
429
431
  * Get parent element from selector or element