Update preview site URL (#2572)

* Update all preview website URL references to the new URL.

* Remove az cli config.

* Fix formatting.

* Fix new preview URL in ConfigContext
This commit is contained in:
jawelton74
2026-09-02 13:28:31 -07:00
committed by GitHub
parent 325abbdff5
commit 5080e516d7
8 changed files with 10 additions and 15 deletions
-7
View File
@@ -1,7 +0,0 @@
[defaults]
group = dataexplorer-preview
sku = P1v2
appserviceplan = dataexplorer-preview
location = westus2
web = dataexplorer-preview
+2 -2
View File
@@ -4,8 +4,8 @@ Cosmos Explorer Preview makes it possible to try a working version of any commit
Initial support is for Hosted (Connection string only) or the Azure Portal. Examples:
Connection string URLs: https://dataexplorer-preview.azurewebsites.net/commit/COMMIT_SHA/hostedExplorer.html
Portal URLs: https://ms.portal.azure.com/?dataExplorerSource=https://dataexplorer-preview.azurewebsites.net/commit/COMMIT_SHA/explorer.html#home
Connection string URLs: https://dataexplorer-preview.portal.cosmos.azure.com/commit/COMMIT_SHA/hostedExplorer.html
Portal URLs: https://ms.portal.azure.com/?dataExplorerSource=https://dataexplorer-preview.portal.cosmos.azure.com/commit/COMMIT_SHA/explorer.html#home
In both cases replace `COMMIT_SHA` with the commit you want to view. It must have already completed its build on GitHub Actions.
+1 -1
View File
@@ -1,4 +1,4 @@
{
"PROXY_PATH": "/proxy",
"msalRedirectURI": "https://dataexplorer-preview.azurewebsites.net/"
"msalRedirectURI": "https://dataexplorer-preview.portal.cosmos.azure.com/"
}
+1 -1
View File
@@ -4,7 +4,7 @@ const port = process.env.PORT || 3000;
const fetch = require("node-fetch");
const backendEndpoint = "https://cdb-ms-mpac-pbe.cosmos.azure.com";
const previewSiteEndpoint = "https://dataexplorer-preview.azurewebsites.net";
const previewSiteEndpoint = "https://dataexplorer-preview.portal.cosmos.azure.com";
const previewStorageWebsiteEndpoint = "_REPLACE_STORAGE_WEBSITE_ENDPOINT_";
const githubApiUrl = "https://api.github.com/repos/Azure/cosmos-explorer";
const azurePortalMpacEndpoint = "https://ms.portal.azure.com/";