fix(nitro): used named export for azure entry (#491)

This commit is contained in:
Daniel Roe 2021-09-06 12:58:56 +01:00 committed by GitHub
parent b9d2dad56a
commit 44b7f1f61e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ import '#polyfill'
import { parseURL } from 'ufo'
import { localCall } from '../server'
export default async function handle (context, req) {
export async function handle (context, req) {
let url: string
if (req.headers['x-ms-original-url']) {
// This URL has been proxied as there was no static file matching it.