mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-04-17 12:00:40 +01:00
Add new config for sov. clouds (#2402)
* Add new cloud origins for CSP. * Remove the explorer endpoint, it is not needed here. * Add other clouds as well. * Fix formatting.
This commit is contained in:
@@ -79,6 +79,10 @@ let configContext: Readonly<ConfigContext> = {
|
|||||||
`^https:\\/\\/dataexplorer-preview\\.azurewebsites\\.net$`,
|
`^https:\\/\\/dataexplorer-preview\\.azurewebsites\\.net$`,
|
||||||
`^https:\\/\\/explorer\\.cosmos\\.sovcloud-api\\.fr$`,
|
`^https:\\/\\/explorer\\.cosmos\\.sovcloud-api\\.fr$`,
|
||||||
`^https:\\/\\/portal\\.sovcloud-azure\\.fr$`,
|
`^https:\\/\\/portal\\.sovcloud-azure\\.fr$`,
|
||||||
|
`^https:\\/\\/explorer\\.cosmos\\.sovcloud-api\\.de$`,
|
||||||
|
`^https:\\/\\/portal\\.sovcloud-azure\\.de$`,
|
||||||
|
`^https:\\/\\/explorer\\.cosmos\\.sovcloud-api\\.sg$`,
|
||||||
|
`^https:\\/\\/portal\\.sovcloud-azure\\.sg$`,
|
||||||
], // Webpack injects this at build time
|
], // Webpack injects this at build time
|
||||||
gitSha: process.env.GIT_SHA,
|
gitSha: process.env.GIT_SHA,
|
||||||
hostedExplorerURL: "https://cosmos.azure.com/",
|
hostedExplorerURL: "https://cosmos.azure.com/",
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
<clear />
|
<clear />
|
||||||
<add name="X-Xss-Protection" value="1; mode=block" />
|
<add name="X-Xss-Protection" value="1; mode=block" />
|
||||||
<add name="X-Content-Type-Options" value="nosniff" />
|
<add name="X-Content-Type-Options" value="nosniff" />
|
||||||
<add name="Content-Security-Policy" value="frame-ancestors 'self' portal.azure.com *.portal.azure.com portal.azure.us portal.azure.cn portal.microsoftazure.de df.onecloud.azure-test.net *.fabric.microsoft.com *.powerbi.com *.analysis-df.windows.net dataexplorer-preview.azurewebsites.net" />
|
<add name="Content-Security-Policy" value="frame-ancestors 'self' portal.azure.com *.portal.azure.com portal.azure.us portal.azure.cn portal.microsoftazure.de df.onecloud.azure-test.net *.fabric.microsoft.com *.powerbi.com *.analysis-df.windows.net dataexplorer-preview.azurewebsites.net portal.sovcloud-azure.fr portal.sovcloud-azure.de portal.sovcloud-azure.sg" />
|
||||||
</customHeaders>
|
</customHeaders>
|
||||||
<redirectHeaders>
|
<redirectHeaders>
|
||||||
<clear />
|
<clear />
|
||||||
|
|||||||
Reference in New Issue
Block a user