Browse Source

fix ci

master
Gisle Aune 2 years ago
parent
commit
82fef3eea9
  1. 9
      serverless.yml

9
serverless.yml

@ -76,6 +76,15 @@ custom:
'integration.request.path.myPath': 'method.request.path.myPath'
'integration.request.path.object': 'method.request.path.myPath'
'integration.request.header.cache-control': "'public, max-age=86400, immutable'"
- s3:
path: /
method: get
action: GetObject
bucket: ${self:custom.webuiBucket}
roleArn: ${self:provider.role}
key: index.html
requestParameters:
'integration.request.header.cache-control': "'public, max-age=86400, immutable'"
- s3:
path: /{myPath+}
method: get

Loading…
Cancel
Save