You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but it gives me warning given below and api is giving cors error on react app
Serverless: at 'functions.website.events[0].http': should have required property 'method'
Serverless: at 'functions.website.events[0].http.path': value 'ANY /' does not satisfy pattern /^(?:\*|\/?\S*)$/
Serverless: at 'functions.website.events[1].http': should have required property 'method'
Serverless: at 'functions.website.events[1].http.path': value 'ANY /{proxy+}' does not satisfy pattern /^(?:\*|\/?\S*)$/
Serverless:
Serverless: Learn more about configuration validation here: http://slss.io/configuration-validation
Serverless:
Serverless: Deprecation warning: Starting with next major version, API Gateway naming will be changed from "{stage}-{service}" to "{service}-{stage}".
Set "provider.apiGateway.shouldStartNameWithService" to "true" to adapt to the new behavior now.
More Info: https://www.serverless.com/framework/docs/deprecations/#AWS_API_GATEWAY_NAME_STARTING_WITH_SERVICE
How to get this working.??
The text was updated successfully, but these errors were encountered:
i enable cors on serverless.yml like this
but it gives me warning given below and api is giving cors error on react app
How to get this working.??
The text was updated successfully, but these errors were encountered: