a24z 1.0.7 → 1.0.8
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -433,7 +433,7 @@ class A24zCLI {
|
|
|
433
433
|
if (this.config.accessToken) {
|
|
434
434
|
headers.Authorization = `Bearer ${this.config.accessToken}`;
|
|
435
435
|
}
|
|
436
|
-
const response = await axios.get(`${this.config.apiUrl}/api/
|
|
436
|
+
const response = await axios.get(`${this.config.apiUrl}/api/v1/health`, { headers });
|
|
437
437
|
if (response.status === 200) {
|
|
438
438
|
console.log(` ${chalk.green('✅ API is reachable')}`);
|
|
439
439
|
if (this.config.accessToken) {
|