Skip to content

Commit 9ea4a73

Browse files
Merge pull request #214478 from chcomley/users/chcomley/swa-ghi-96274-functions-bring-your-own
SWA GitHub Issue #96274 - functions-bring-your-own.md
2 parents 815d932 + 88af397 commit 9ea4a73

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

articles/static-web-apps/functions-bring-your-own.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
---
22
title: Bring your own functions to Azure Static Web Apps
33
description: Use an existing Azure Functions app with your Azure Static Web Apps site.
4+
ms.custom: engagement-fy23
45
services: static-web-apps
56
author: craigshoemaker
67
ms.service: static-web-apps
78
ms.topic: how-to
8-
ms.date: 07/27/2022
9+
ms.date: 10/13/2022
910
ms.author: cshoe
1011
---
1112

1213
# Bring your own functions to Azure Static Web Apps
1314

14-
Azure Static Web Apps APIs are supported by two possible configurations: managed functions and bring your own functions. See the [overview](apis-functions.md) for details between the two configurations.
15+
Azure Static Web Apps APIs are supported by two possible configurations: managed functions and bring your own functions. For more information on the differences in configurations, see the [overview](apis-functions.md).
1516

1617
This article demonstrates how to link an existing Azure Functions app to an Azure Static Web Apps resource.
1718

@@ -32,7 +33,7 @@ Once linked, you can access that same endpoint through the `api` path from your
3233
https://red-sea-123.azurestaticapps.net/api/getProducts
3334
```
3435

35-
Both endpoint URLs point to the same function.
36+
Both endpoint URLs point to the same function.
3637

3738
## Link an existing Azure Functions app
3839

@@ -59,7 +60,7 @@ Before you associate an existing Functions app, you first need to adjust to conf
5960
The Azure Functions app is now mapped to the `/api` route of your static web app.
6061

6162
> [!IMPORTANT]
62-
> Make sure to set the `api_location` value to an empty string (`""`) in the [workflow configuration](./build-configuration.md) file before you link an existing Functions application.
63+
> Make sure to set the `api_location` value to an empty string (`""`) in the [workflow configuration](./build-configuration.md) file before you link an existing Functions application. Also, calls assume that the external function app retains the default `api` route prefix. Many apps remove this prefix in the *host.json*. Make sure the prefix is in place in the configuration, otherwise the call fails.
6364
6465
## Deployment
6566

0 commit comments

Comments
 (0)