Skip to content

Commit cf5ffdf

Browse files
authored
Merge pull request #302023 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents e3a6eb1 + 16b3940 commit cf5ffdf

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

articles/static-web-apps/add-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ You create an Azure Functions project for your static web app's API. By default,
101101
methods: ['GET', 'POST'],
102102
authLevel: 'anonymous',
103103
handler: async (request, context) => {
104-
return { body: `Hello, from the API!` };
104+
return { body: JSON.stringify({ "text": `Hello, from the API!` }) };
105105
}
106106
});
107107
```

articles/static-web-apps/custom-domain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The following table includes links to articles that demonstrate how to configure
2222
| Set up a domain with the `www` subdomain | [Azure DNS](custom-domain-azure-dns.md) | [External provider](custom-domain-external.md) |
2323
| Set up an apex domain | [Azure DNS](apex-domain-azure-dns.md) | [External provider](apex-domain-external.md) |
2424

25-
<sup>1</sup> Some registrars like GoDaddy and Google don't support domain records that affect how you configure your apex domain. Consider using [Azure DNS](custom-domain-azure-dns.md) with these registrars to set up your apex domain.
25+
<sup>1</sup> Some registrars like GoDaddy don't support domain records that affect how you configure your apex domain. Consider using [Azure DNS](custom-domain-azure-dns.md) with these registrars to set up your apex domain.
2626

2727
> [!NOTE]
2828
> Adding a custom domain to a [preview environment](preview-environments.md) is not supported. Unicode domains, including Punycode domains and the `xn--` prefix are also not supported.

articles/static-web-apps/front-end-frameworks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The intent of the table columns is explained by the following items:
4949
| [Next.js](https://nextjs.org/) (Static HTML Export) | `out` | n/a | n/a |
5050
| [Next.js](https://nextjs.org/) (Hybrid Rendering) | `/` | n/a | n/a |
5151
| [Nuxt 2](https://v2.nuxt.com/) | `/` | n/a | n/a |
52-
| [Nuxt 3](https://nuxt.com/) | `output/public` | `output/server` | n/a |
52+
| [Nuxt 3](https://nuxt.com/) | `.output/public` | `.output/server` | n/a |
5353
| [Preact](https://preactjs.com/) | `dist` | n/a | n/a |
5454
| [React](https://reactjs.org/) | `build` | n/a | n/a |
5555
| [RedwoodJS](https://redwoodjs.com/) | `web/dist` | n/a | `yarn rw build web` |

articles/static-web-apps/metrics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ The following metrics are tracked for your application:
3030
| `CdnTotalLatency` | Time, measured in milliseconds, representing the CDN latency. |
3131
| `DataApiErrors` | Number of errors produced from API calls. |
3232
| `DataApiHits` | Number of hit to API endpoints. |
33-
| `FunctionErrors` | Number of errors encounter by managed API functions. |
34-
| `FunctionHits` | Number of hits to managed API functions. |
33+
| `FunctionErrors` | Number of errors encounter by managed API functions and linked backend functions. |
34+
| `FunctionHits` | Number of hits to managed API functions and linked backend functions. |
3535
| `SiteErrors` | Number of errors encountered by the website. |
3636
| `SiteHits` | Number of hits to the website. |
3737

includes/static-web-apps-languages-runtimes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,27 +45,27 @@ The following example demonstrates how to update the `TargetFramework` element f
4545

4646
### Node.js
4747

48-
The following example configuration demonstrates how to use the `apiRuntime` property to select Node.js 16 as the API language runtime version in the _staticwebapp.config.json_ file.
48+
The following example configuration demonstrates how to use the `apiRuntime` property to select Node.js 20 as the API language runtime version in the _staticwebapp.config.json_ file.
4949

5050
```json
5151
{
5252
...
5353
"platform": {
54-
"apiRuntime": "node:16"
54+
"apiRuntime": "node:20"
5555
}
5656
...
5757
}
5858
```
5959

6060
### Python
6161

62-
The following example configuration demonstrates how to use the `apiRuntime` property to select Python 3.8 as the API language runtime version in the _staticwebapp.config.json_ file.
62+
The following example configuration demonstrates how to use the `apiRuntime` property to select Python 3.11 as the API language runtime version in the _staticwebapp.config.json_ file.
6363

6464
```json
6565
{
6666
...
6767
"platform": {
68-
"apiRuntime": "python:3.8"
68+
"apiRuntime": "python:3.11"
6969
}
7070
...
7171
}

0 commit comments

Comments
 (0)