Need help with azure static web app

Ravinder singh 21 Reputation points
2021-10-28T05:24:04.407+00:00

I'm not able to configure the env variables in my azure static web app. I created key: value pairs in the configuration
and used them in the application like process.env.{KEY}

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,959 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 18,366 Reputation points
    2021-10-28T10:21:13.127+00:00

    Thanks for asking question! Could you please elaborate if you want to apply the application settings for backend API of an Azure Static Web App.
    You may follow this official document: https://learn.microsoft.com/en-us/azure/static-web-apps/application-settings

    If you want to configure environment variables that are required to build your frontend web application, see Build configuration.

    Let us know.

    1 person found this answer helpful.