@webmate-studio/cli 0.3.50 → 0.3.52

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webmate-studio/cli",
3
- "version": "0.3.50",
3
+ "version": "0.3.52",
4
4
  "type": "module",
5
5
  "description": "Webmate Studio CLI - Build and manage your Webmate components",
6
6
  "keywords": [
@@ -35,7 +35,7 @@
35
35
  "@webmate-studio/builder": "^0.2.75",
36
36
  "@webmate-studio/core": "^0.2.7",
37
37
  "@webmate-studio/parser": "^0.2.8",
38
- "@webmate-studio/preview": "^0.2.48",
38
+ "@webmate-studio/preview": "^0.2.51",
39
39
  "alpinejs": "^3.15.0",
40
40
  "commander": "^11.0.0",
41
41
  "esbuild": "^0.19.0",
package/src/utils/auth.js CHANGED
@@ -99,7 +99,7 @@ export function getCurrentTenant() {
99
99
  export function getCmsBaseUrl() {
100
100
  const auth = loadAuth();
101
101
  if (!auth?.baseUrl) {
102
- return 'https://app.localhost:3029'; // Default für Development
102
+ return 'https://app.webmate-studio.com'; // Default für Production
103
103
  }
104
104
  return auth.baseUrl;
105
105
  }
@@ -115,7 +115,7 @@ export function getTenantCmsUrl() {
115
115
  return null;
116
116
  }
117
117
 
118
- // Extrahiere Domain aus Base URL (z.B. "app.localhost:3029" → "localhost:3029")
118
+ // Extrahiere Domain aus Base URL (z.B. "app.webmate-studio.com" → "webmate-studio.com")
119
119
  const url = new URL(baseUrl);
120
120
  const parts = url.host.split('.');
121
121
  const domain = parts.slice(1).join('.'); // Entferne "app" Subdomain