|
|
@ -77,6 +77,28 @@ custom: |
|
|
|
requestParameters: |
|
|
|
'integration.request.header.cache-control': "'public, max-age=86400, immutable'" |
|
|
|
|
|
|
|
- s3: |
|
|
|
path: /projects/{pid} |
|
|
|
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: /projects/{gid}/{pid} |
|
|
|
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: /questlog |
|
|
|
method: get |
|
|
|