7
api/main/index.ts
Normal file
7
api/main/index.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Context, HttpRequest } from '@azure/functions';
|
||||
import { AzureHttpAdapter } from '@nestjs/azure-func-http';
|
||||
import { createApp } from '../src/main.azure';
|
||||
|
||||
export default function(context: Context, req: HttpRequest): void {
|
||||
AzureHttpAdapter.handle(createApp, context, req);
|
||||
}
|
||||
Reference in New Issue
Block a user