@supershift/mediakiwi-azure-function v0.3.0-rc.6
Sushi.MediaKiwi.AzureFunction
Introduction
This package will help getter configuration running through an Azure Function HttpTrigger for your Static Web App
Setup
Install the package:
npm i @supershift/mediakiwi-azure-function
Usage
Create an Node Azure Function of your own liking and import the ConfigurationHttpTrigger from the package
import { ConfigurationHttpTrigger } from "@supershift/mediakiwi-azure-function";
const httpTrigger: AzureFunction = async function (context: Context, req: HttpRequest): Promise<void> {
ConfigurationHttpTrigger(context, req);
};
export default httpTrigger;
Optional
Add additional section by providing them as a third parameter
const httpTrigger: AzureFunction = async function (context: Context, req: HttpRequest): Promise<void> {
ConfigurationHttpTrigger(context, req, ["SampleApi"]);
};
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
10 months ago
11 months ago
11 months ago
11 months ago
1 year ago
12 months ago
12 months ago
11 months ago
1 year ago
1 year ago
12 months ago
1 year ago
11 months ago
1 year ago
1 year ago
11 months ago
11 months ago
11 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago