From 41c82e1cf071fcede1b1ce66bee6fbe50f8314fa Mon Sep 17 00:00:00 2001 From: Adam Sobotka Date: Thu, 20 Oct 2022 19:58:41 +0200 Subject: [PATCH] trying precompress --- static/200.html | 4 ++++ svelte.config.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 static/200.html diff --git a/static/200.html b/static/200.html new file mode 100644 index 0000000..5c79d1d --- /dev/null +++ b/static/200.html @@ -0,0 +1,4 @@ +

We need JavaScript

+

You reached part of the web that use javascript to fetch the data from external sources. When we had a choice between + making javascript mandatory and using a centralized infrastructure, we picked prior. Apologies for any + inconvenience.

\ No newline at end of file diff --git a/svelte.config.js b/svelte.config.js index 4b3754d..d3cc993 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -10,7 +10,7 @@ const config = { pages: 'build', assets: 'build', fallback: null, - precompress: false + precompress: true }), trailingSlash: 'always', },