@necrolab/dashboard 0.4.40 → 0.4.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/backend/api.js +0 -5
  2. package/package.json +1 -1
package/backend/api.js CHANGED
@@ -179,11 +179,6 @@ app.ws("/api/updates", async function (ws, req) {
179
179
  }
180
180
  });
181
181
 
182
- // Root route - serve the main app
183
- app.get("/", (req, res) => {
184
- res.sendFile(path.join(__dirname, "../dist/index.html"));
185
- });
186
-
187
182
  // catches vue reloads
188
183
  app.use(
189
184
  ["/login", "/console", "/editor", "/filter", "/profiles", "/accounts"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@necrolab/dashboard",
3
- "version": "0.4.40",
3
+ "version": "0.4.41",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "rm -rf dist && vite build && npx workbox-cli generateSW workbox-config.cjs",