mirror of
https://github.com/aljazceru/landscape-template.git
synced 2025-12-30 04:24:26 +01:00
testing cors issue
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -28,3 +28,4 @@ yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
TODO
|
||||
serverless.yml
|
||||
@@ -1,23 +0,0 @@
|
||||
custom:
|
||||
serverless-offline:
|
||||
httpPort: 8888
|
||||
|
||||
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
|
||||
cors: true
|
||||
- http:
|
||||
path: graphql
|
||||
method: get
|
||||
cors: true
|
||||
Reference in New Issue
Block a user