Open ianzone opened 1 year ago
Hi @ianzone
The error says that you are using EDGE
endpoint type.
Could you please switch to the REGIONAL
?
but I am using the apigateway V1 and meant to use the EDGE endpoint
functions: { api: { handler: 'dist/api.handler', events: [ { http: { method: 'ANY', path: '/', cors: true, // https://www.serverless.com/framework/docs/providers/aws/events/apigateway#enabling-cors }, }, { http: { method: 'ANY', path: '{proxy+}', cors: true, // https://www.serverless.com/framework/docs/providers/aws/events/apigateway#enabling-cors }, }, ], },
Community Note
Bug Report
Error Description When set multiple segments in basePath, the api is recognized as V2, even though it's a rest api (V1).
Command Run
sls deploy
Console Output
Domain Manager Configuration using serverless.ts
Versions