@stackable-labs/cli-app-extension 1.62.0 → 1.62.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.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1008,9 +1008,9 @@ var TemplateSelect = ({ onSubmit, onBack }) => {
|
|
|
1008
1008
|
|
|
1009
1009
|
// src/lib/api.ts
|
|
1010
1010
|
var DEFAULT_ADMIN_API_URL = "https://api-use1.stackablelabs.io/admin";
|
|
1011
|
-
var DEFAULT_PUBLIC_API_URL = "https://api.stackablelabs.io/app-extension/
|
|
1011
|
+
var DEFAULT_PUBLIC_API_URL = "https://api.stackablelabs.io/app-extension/latest";
|
|
1012
1012
|
var getAdminApiBaseUrl = () => process.env.ADMIN_API_BASE_URL ?? DEFAULT_ADMIN_API_URL;
|
|
1013
|
-
var getPublicApiBaseUrl = () => process.env.
|
|
1013
|
+
var getPublicApiBaseUrl = () => process.env.PUBLIC_API_BASE_URL ?? DEFAULT_PUBLIC_API_URL;
|
|
1014
1014
|
var CLI_CLIENT_NAME = "@stackable-labs/cli-app-extension";
|
|
1015
1015
|
var authHeaders = (token) => ({
|
|
1016
1016
|
authorization: `Bearer ${token}`,
|