@Rob Innes Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.
As mentioned earlier, we are also facing the same issue when we use the below values as in API location to our workflow.
app_location: "/"
api_location: "api"
output_location: "build"
Could you please update the values of api_location
, app_location
,output_location
in your .github/workflows/azure-static-web-apps-<DEFAULT-HOSTNAME>.yml.
Post making the above changes I am able to deploy & request the static webapp without any issues. Also, seems like document is outdated I have shared the feedback to internal team to make the above changes accordingly.
Hope this helps, let me know if you have any further questions on this.
Please accept as "Yes" if the answer is helpful so that it can help others in the community.