From 0a8c86c885a0c7d671ce129d53d1488b7ed66f02 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 6 Sep 2021 12:37:21 +0100 Subject: [PATCH] fix(nitro): export named function rather than default export (#490) --- packages/nitro/src/runtime/entries/azure_functions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nitro/src/runtime/entries/azure_functions.ts b/packages/nitro/src/runtime/entries/azure_functions.ts index b2536ddfef..4d294a8799 100644 --- a/packages/nitro/src/runtime/entries/azure_functions.ts +++ b/packages/nitro/src/runtime/entries/azure_functions.ts @@ -1,7 +1,7 @@ import '#polyfill' import { localCall } from '../server' -export default async function handle (context, req) { +export async function handle (context, req) { const url = '/' + (req.params.url || '') const { body, status, statusText, headers } = await localCall({