This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Choose the best response for each question.
How do you customize the route endpoint for a function in an Azure Functions project?
Rename index.js file to the name of the endpoint you desire.
Inside the function's function.json file, add a route property and set it to your desired endpoint path name.
route
Endpoint paths can't be customized.
Name the function's symbol in the code to your desired name.
How do you deploy changes to your web app without affecting your production web site?
Go to the production URL of your app.
Go to your resource in the Azure portal and view the configuration.
Push your commits to your watched branched of your git repository.
Create a preview URL by creating a pull request against the branch that your GitHub Action is watching.
How do you tell Azure Static Web Apps that you changed where your API is located?
In the package.json file.
Add an entry in staticwebapp.config.json for the location.
Azure Static Web Apps automatically knows where your code and API are located, without any configuration.
In the GitHub Actions workflow file, located in your .github/workflows folder.
You must answer all questions before checking your work.
Was this page helpful?