From 93a9939587d8976ea26df14215c7bab3bfa301fb Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Mon, 27 Jul 2026 19:44:32 +0100 Subject: [PATCH] fix webapp --- webapp/app/assets | 1 + webapp/app/webpack.config.js | 3 +++ 2 files changed, 4 insertions(+) create mode 120000 webapp/app/assets diff --git a/webapp/app/assets b/webapp/app/assets new file mode 120000 index 0000000..e593cfc --- /dev/null +++ b/webapp/app/assets @@ -0,0 +1 @@ +../../docs/assets \ No newline at end of file diff --git a/webapp/app/webpack.config.js b/webapp/app/webpack.config.js index 62ea056..93b2bf2 100644 --- a/webapp/app/webpack.config.js +++ b/webapp/app/webpack.config.js @@ -16,5 +16,8 @@ module.exports = { devServer: { //host: "0.0.0.0", port: 8080, + // dev-server 5 defaults its static root to ./public, which would leave + // index.html unserved. `assets` symlinks to ../../docs/assets for samples. + static: { directory: __dirname }, } };