feat: pre-build frontend and harden backend to bypass build failures

- Pre-built frontend 'dist' folder committed to skip npm install on Pi.
- Backend package.json updated to stable dependencies (express 4.x, multer 1.4).
- Added npm 'overrides' to explicitly block mdns2 installation.
- Updated setup.sh to use --package-lock=false for a guaranteed clean install.
This commit is contained in:
Timothy Hofland
2026-03-11 08:41:19 +01:00
parent 686185a625
commit 8ee2795eb7
6 changed files with 41 additions and 9 deletions

14
frontend/dist/index.html vendored Normal file
View File

@ -0,0 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>frontend</title>
<script type="module" crossorigin src="/assets/index-PcgCkuv7.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-4mgl0TUi.css">
</head>
<body>
<div id="root"></div>
</body>
</html>