Skip to content

Commit 8f5dc36

Browse files
committed
client-v4->client and api-v4->api in deploy step in SWA cog search tutorial
1 parent bc00ad0 commit 8f5dc36

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/search/includes/tutorial-add-search-website-create-app.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The static web app pulls the information and files for deployment from GitHub us
1212

1313
## Create a Static Web App in Visual Studio Code
1414

15-
1. In Visual Studio Code, open a folder at the repository root (`azure-search-javascript-samples`).
15+
1. In Visual Studio Code, open a folder at the repository root (for example, `azure-search-javascript-samples`).
1616

1717
1. Select **Azure** from the Activity Bar, then open **Resources** from the side bar.
1818

@@ -37,8 +37,8 @@ The static web app pulls the information and files for deployment from GitHub us
3737
|Select a SKU | Select the free SKU for this tutorial.|
3838
|Select a location for new resources. | For Node.js: Select `West US 2` during the Azure Function programming model (PM) v4 preview. For C# and Python, select a region near you. |
3939
|Choose build preset to configure default project structure. |Select **Custom**. |
40-
|Select the location of your client application code | `search-website-functions-v4/client-v4`<br><br>This is the path, from the root of the repository, to your static web app. |
41-
|Select the location of your Azure Functions code | `search-website-functions-v4/api-v4`<br><br>This is the path, from the root of the repository, to your static web app. If there are no other functions in the repository, you won't be prompted for the function code location. Currently, you'll need to perform extra steps to ensure the function code location is correct. These steps are performed after the resource is created and are documented in this article. |
40+
|Select the location of your client application code | `search-website-functions-v4/client`<br><br>This is the path, from the root of the repository, to your static web app. |
41+
|Select the location of your Azure Functions code | `search-website-functions-v4/api`<br><br>This is the path, from the root of the repository, to your static web app. If there are no other functions in the repository, you won't be prompted for the function code location. Currently, you'll need to perform extra steps to ensure the function code location is correct. These steps are performed after the resource is created and are documented in this article. |
4242
|Enter the path of your build output... | `build`<br><br>This is the path, from your static web app, to your generated files.|
4343

4444
If you get an error about an incorrect region, make sure the resource group and static web app resource are in one of the supported regions listed in the error response.
@@ -64,8 +64,8 @@ The static web app pulls the information and files for deployment from GitHub us
6464
1. Change the path syntax to use a forward slash (only `api_location` needs editing, other locations are here for context):
6565

6666
```yml
67-
app_location: "search-website-functions-v4/client-v4" # App source code path
68-
api_location: "search-website-functions-v4/api-v4" # Api source code path - optional
67+
app_location: "search-website-functions-v4/client" # App source code path
68+
api_location: "search-website-functions-v4/api" # Api source code path - optional
6969
output_location: "build" # Built app content directory - optional
7070
```
7171

0 commit comments

Comments
 (0)