@yadurajfleetos/cli 0.1.3 → 0.1.4

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.
@@ -63,10 +63,10 @@ function validApi(value) {
63
63
  }
64
64
  function getWebUrl(api) {
65
65
  if (api.includes('fleetapi.plastikworld.xyz'))
66
- return 'https://fleet.plastikworld.xyz';
66
+ return 'https://fleetapp.plastikworld.xyz';
67
67
  if (api.includes('localhost:8080') || api.includes('127.0.0.1:8080'))
68
68
  return 'http://localhost:5173';
69
- return api.replace(/fleetapi\./, 'fleet.');
69
+ return api.replace(/fleetapi\./, 'fleetapp.');
70
70
  }
71
71
  const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
72
72
  async function browserAuth(profile) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yadurajfleetos/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Fleet OS command-line interface for deploying and orchestrating services on user-owned hardware",
5
5
  "type": "module",
6
6
  "license": "MIT",