Uncategorized

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

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.