Skip to content

Commit

Permalink
Update management endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
MicroFish91 committed Feb 10, 2025
1 parent 95530d3 commit 34ad446
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@
"@azure/arm-resources": "^5.0.0",
"@azure/core-client": "^1.7.3",
"@azure/core-rest-pipeline": "^1.11.0",
"@microsoft/vscode-azext-azureappservice": "file:../vscode-azuretools/appservice/microsoft-vscode-azext-azureappservice-3.3.1.tgz",
"@microsoft/vscode-azext-azureappservice": "file:../vscode-azuretools/appservice/microsoft-vscode-azext-azureappservice-3.4.0.tgz",
"@microsoft/vscode-azext-azureappsettings": "^0.2.0",
"@microsoft/vscode-azext-azureutils": "^3.1.1",
"@microsoft/vscode-azext-utils": "file:../vscode-azuretools/utils/microsoft-vscode-azext-utils-2.5.13.tgz",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class WebAppWithDomainLabelScopeCreateStep extends AzureWizardExecuteStep
// The SDK does not currently support this updated api version, so we should make the call to the endpoint manually until the SDK gets updated
const authToken = (await context.credentials.getToken() as { token?: string }).token;
const options: AzExtRequestPrepareOptions = {
url: `https://management.azure.com/subscriptions/${context.subscriptionId}/resourceGroups/${rgName}/providers/Microsoft.Web/sites/${siteName}?api-version=2024-04-01`,
url: `${context.environment.resourceManagerEndpointUrl}subscriptions/${context.subscriptionId}/resourceGroups/${rgName}/providers/Microsoft.Web/sites/${siteName}?api-version=2024-04-01`,
method: 'PUT',
headers: createHttpHeaders({
'Content-Type': 'application/json',
Expand Down

0 comments on commit 34ad446

Please sign in to comment.