functions
javascript
lindydonna
Azure Functions Proxies SampleThis sample demonstrates a simple single page application that is hosted on Azure Storage. The site returns a different Azure Functions logo whenever the site is refreshed. The SPA calls APIs that are served from Azure Functions. Proxies are used to route the site root to the SPA and also provide access to the GetFunctionLogo
function.
Create a new public container in an Azure Storage account. Copy the files in the ContentFiles folder to this container.
Add a CORS setting for your storage account:
*
.Deploy to Azure
storageUrlAndContainer
parameter, use the path to your storage account, including the container name, such as https://accountname.blob.core.windows.net/ContentFiles
.repoUrl
, use either https://github.com/Azure-Samples/functions-js-spa
or URL of your fork of the sample.Navigate to the root of your Function App (https://yourappname.azurewebsites.net/), and you will see the HTML page that is hosted on Azure Storage.
To learn more about Azure Functions Proxies, see the following:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4