Skip to content

Commit 6504362

Browse files
appservice: Fix documentation link for unique default hostname by app kind (#2228)
* appservice: Fix documentation link for unique default hostname by app kind Use the Functions & Logic Apps blog post URL when creating function apps or logic apps, and keep the existing Web App URL for web apps. Fixes microsoft/vscode-azurefunctions#4936 * appservice: Bump version to 4.2.1
1 parent e08bb20 commit 6504362

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

appservice/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

appservice/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@microsoft/vscode-azext-azureappservice",
33
"author": "Microsoft Corporation",
4-
"version": "4.2.0",
4+
"version": "4.2.1",
55
"description": "Common tools for developing Azure App Service extensions for VS Code",
66
"tags": [
77
"azure",

appservice/src/createAppService/SiteDomainNameLabelScopeStep.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import { AzureWizardPromptStep, IAzureQuickPickItem, openUrl } from '@microsoft/vscode-azext-utils';
77
import * as vscode from 'vscode';
8+
import { AppKind } from './AppKind';
89
import { IAppServiceWizardContext } from './IAppServiceWizardContext';
910

1011
export enum DomainNameLabelScope {
@@ -25,7 +26,9 @@ export class SiteDomainNameLabelScopeStep<T extends IAppServiceWizardContext> ex
2526
{ label: vscode.l10n.t('Global default hostname'), description: vscode.l10n.t('Legacy'), data: undefined },
2627
{ label: vscode.l10n.t('$(link-external) Learn more about unique default hostname'), data: learnMore },
2728
];
28-
const learnMoreUrl: string = 'https://aka.ms/AAu7lhs';
29+
const learnMoreUrl: string = context.newSiteKind === AppKind.functionapp || context.newSiteKind === AppKind.workflowapp
30+
? 'https://aka.ms/AA108fh2'
31+
: 'https://aka.ms/AAu7lhs';
2932

3033
let result: DomainNameLabelScope | typeof learnMore | undefined;
3134
do {

0 commit comments

Comments
 (0)