mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-26 01:34:25 +01:00
fix: restore serverless.yml
This commit is contained in:
23
serverless.yml
Normal file
23
serverless.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
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