@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.
- package/backend/api.js +0 -5
- 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"],
|