From 633dd854b36700084bb87981fffb829943f4e5a1 Mon Sep 17 00:00:00 2001 From: Thomas Klaehn Date: Thu, 9 Feb 2023 10:03:00 +0100 Subject: [PATCH] Build: fix Signed-off-by: Thomas Klaehn --- webui/static/robots.txt | 3 +++ webui/svelte.config.js | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 webui/static/robots.txt diff --git a/webui/static/robots.txt b/webui/static/robots.txt new file mode 100644 index 0000000..e9e57dc --- /dev/null +++ b/webui/static/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/webui/svelte.config.js b/webui/svelte.config.js index 37b36f5..25396fb 100644 --- a/webui/svelte.config.js +++ b/webui/svelte.config.js @@ -7,8 +7,8 @@ const config = { adapter: adapter({ // default options are shown. On some platforms // these options are set automatically — see below - pages: 'build', - assets: 'build', + pages: '../build/webui', + assets: '../build/webui', fallback: null, precompress: false, strict: true