diff --git a/src/handler.ts b/handler.ts similarity index 92% rename from src/handler.ts rename to handler.ts index 0080b38..6639651 100644 --- a/src/handler.ts +++ b/handler.ts @@ -1,7 +1,7 @@ import { Context, APIGatewayProxyEvent, APIGatewayProxyResult } from 'aws-lambda'; import { createServer, proxy } from 'aws-serverless-express'; -import {app} from "./api/api" +import {app} from "./src/api/api" const server = createServer(app); diff --git a/tsconfig.json b/tsconfig.json index 20b58fb..9b520bc 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,7 +17,7 @@ }, "resolveJsonModule": true, }, - "include": ["./swagger-output.json", "src/**/*"], + "include": ["./swagger-output.json", "src/**/*", "handler.ts"], "exclude": [ "node_modules" ],