mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 09:02:03 +00:00
fix(nitro): export named function rather than default export (#490)
This commit is contained in:
parent
b1da8ea2ca
commit
0a8c86c885
@ -1,7 +1,7 @@
|
|||||||
import '#polyfill'
|
import '#polyfill'
|
||||||
import { localCall } from '../server'
|
import { localCall } from '../server'
|
||||||
|
|
||||||
export default async function handle (context, req) {
|
export async function handle (context, req) {
|
||||||
const url = '/' + (req.params.url || '')
|
const url = '/' + (req.params.url || '')
|
||||||
|
|
||||||
const { body, status, statusText, headers } = await localCall({
|
const { body, status, statusText, headers } = await localCall({
|
||||||
|
Loading…
Reference in New Issue
Block a user