freestyle-sandboxes 0.1.31 → 0.1.32
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/cli.mjs +2 -2
- package/package.json +1 -1
package/cli.mjs
CHANGED
|
@@ -425,7 +425,7 @@ async function getStackAccessTokenForCli(options) {
|
|
|
425
425
|
return refreshed.accessToken;
|
|
426
426
|
}
|
|
427
427
|
function getDashboardApiUrl() {
|
|
428
|
-
return process.env.FREESTYLE_DASHBOARD_URL || "https://
|
|
428
|
+
return process.env.FREESTYLE_DASHBOARD_URL || "https://dash.freestyle.sh";
|
|
429
429
|
}
|
|
430
430
|
async function callDashboardApi(endpoint, accessToken, body) {
|
|
431
431
|
const response = await fetch(`${getDashboardApiUrl()}${endpoint}`, {
|
|
@@ -500,7 +500,7 @@ function getDefaultTeamId() {
|
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
function createProxyFetch(accessToken, teamId) {
|
|
503
|
-
const dashboardApiUrl = process.env.FREESTYLE_DASHBOARD_URL || "https://
|
|
503
|
+
const dashboardApiUrl = process.env.FREESTYLE_DASHBOARD_URL || "https://dash.freestyle.sh";
|
|
504
504
|
return async (url, init) => {
|
|
505
505
|
const urlObj = typeof url === "string" ? new URL(url) : url instanceof URL ? url : new URL(url.url);
|
|
506
506
|
const path2 = urlObj.pathname + urlObj.search;
|