mirror of
https://github.com/aljazceru/landscape-template.git
synced 2025-12-27 19:24:18 +01:00
fix: enabling cors
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
custom:
|
||||
serverless-offline:
|
||||
httpPort: 8888
|
||||
corsAllowHeaders: "*"
|
||||
|
||||
plugins:
|
||||
- serverless-offline
|
||||
service: serverless-graphql
|
||||
provider:
|
||||
name: aws
|
||||
runtime: nodejs12.x
|
||||
|
||||
functions:
|
||||
graphql:
|
||||
handler: functions/graphql/index.handler
|
||||
events:
|
||||
- http:
|
||||
path: graphql
|
||||
method: post
|
||||
- http:
|
||||
path: graphql
|
||||
method: get
|
||||
Reference in New Issue
Block a user