diff --git a/netlify.toml b/netlify.toml index 199ced53..acd470e8 100644 --- a/netlify.toml +++ b/netlify.toml @@ -4,7 +4,7 @@ publish = "build" [[context.production.plugins]] -package = "/plugins/cache-bust" +# package = "/plugins/cache-bust" [[plugins]] package = "@netlify/plugin-lighthouse" @@ -15,5 +15,5 @@ package = "@netlify/plugin-lighthouse" # # to audit a path other than / # route1 audit will use the top level thresholds - [[plugins.inputs.audits]] - path = "documents/" \ No newline at end of file +[[plugins.inputs.audits]] +path = "documents/" diff --git a/src/config/config.js b/src/config/config.js index b0481fd5..84722f63 100644 --- a/src/config/config.js +++ b/src/config/config.js @@ -37,7 +37,7 @@ export const SIGN_IN_URL = new URL(DC_LOGIN, DC_BASE).toString(); export const SIGN_UP_URL = new URL(SQUARELET_SIGNUP, SQUARELET_BASE).toString(); export const SIGN_OUT_URL = new URL(DC_LOGOUT, DC_BASE).toString(); -export const EMBED_MAX_AGE = 60 * 10; +export const EMBED_MAX_AGE = 60 * 20; export const PAGE_MAX_AGE = 60 * 10; export const VIEWER_MAX_AGE = 60 * 10; diff --git a/src/routes/(app)/documents/[id]-[slug]/+page.svelte b/src/routes/(app)/documents/[id]-[slug]/+page.svelte index 2d91a71a..9b54910e 100644 --- a/src/routes/(app)/documents/[id]-[slug]/+page.svelte +++ b/src/routes/(app)/documents/[id]-[slug]/+page.svelte @@ -48,7 +48,7 @@ {/if} diff --git a/src/routes/embed/+layout.ts b/src/routes/embed/+layout.ts index a3d15781..77ab0a02 100644 --- a/src/routes/embed/+layout.ts +++ b/src/routes/embed/+layout.ts @@ -1 +1 @@ -export const ssr = false; +export const ssr = true;