Generally available: Specify API language runtime version in Azure Static Web Apps

Azure Updates

Discussionpowered by zap.ms

Published

Mar 2, 2022

Status

Launched

Timeline

  • March 2022
    General Availability

Product

Azure Functions

Tag

Features

Category

Compute
Containers
Internet of Things

Description

Azure Static Web Apps allow configuration of various settings such as routing, authentication, and networking via the staticwebapp.config.json file. You can now specify an API language runtime via the same configuration file. 

You can specify an API runtime version in your app’s staticwebapp.config.json configuration file as shown below:

{

  "platform": {

    "apiRuntime": "node:16"

  }

}

See the documentation for the list of supported language runtimes and versions. Support is subject to the Azure Functions language runtime support policy.

Learn more.