Skip to content

Commit

Permalink
modify sls handler to refer django
Browse files Browse the repository at this point in the history
  • Loading branch information
umihico committed Jun 24, 2020
1 parent 1966857 commit 1dce3d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion serverless.yml
Expand Up @@ -29,6 +29,9 @@ custom:
createRoute53Record: true
endpointType: 'edge'
securityPolicy: tls_1_2
wsgi:
app: django_sls_helloworld.wsgi.application
packRequirements: false

provider:
name: aws
Expand Down Expand Up @@ -69,7 +72,7 @@ provider:

functions:
hello:
handler: handler.hello
handler: wsgi_handler.handler
# The following are a few example events you can configure
# NOTE: Please make sure to change your handler code to work with those events
# Check the event documentation for details
Expand Down

0 comments on commit 1dce3d3

Please sign in to comment.