From 2a9689f15e34a359f4577e1aab8b0e82a87c2c57 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Sun, 17 Jan 2021 16:19:39 +0100 Subject: [PATCH] fix serverless and typos. --- serverless.yml | 10 ++++++++++ svelte-ui/src/components/QuestLog.svelte | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/serverless.yml b/serverless.yml index d88faa9..30cff9e 100644 --- a/serverless.yml +++ b/serverless.yml @@ -77,6 +77,16 @@ custom: requestParameters: 'integration.request.header.cache-control': "'public, max-age=86400, immutable'" + - s3: + path: /questlog + 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: /items method: get diff --git a/svelte-ui/src/components/QuestLog.svelte b/svelte-ui/src/components/QuestLog.svelte index 8b5a369..be8788c 100644 --- a/svelte-ui/src/components/QuestLog.svelte +++ b/svelte-ui/src/components/QuestLog.svelte @@ -29,7 +29,7 @@
- +