This commit is contained in:
@@ -77,6 +77,28 @@ custom:
|
|||||||
requestParameters:
|
requestParameters:
|
||||||
'integration.request.header.cache-control': "'public, max-age=86400, immutable'"
|
'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:
|
- s3:
|
||||||
path: /questlog
|
path: /questlog
|
||||||
method: get
|
method: get
|
||||||
|
|||||||
Reference in New Issue
Block a user