Skip to content

Commit

Permalink
fix(nitro): export named function rather than default export (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Sep 6, 2021
1 parent 4232ece commit 3ade210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/entries/azure_functions.ts
Original file line number Diff line number Diff line change
@@ -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({
Expand Down

0 comments on commit 3ade210

Please sign in to comment.