question

Ravindersingh-0558 avatar image
0 Votes"
Ravindersingh-0558 asked SnehaAgrawal-MSFT answered

Need help with azure static web app

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-webapps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SnehaAgrawal-MSFT avatar image
1 Vote"
SnehaAgrawal-MSFT answered

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://docs.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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the docs will check.

0 Votes 0 ·