systemview 1.7.5 → 1.8.5

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/server.js DELETED
@@ -1,19 +0,0 @@
1
- const express = require("express");
2
- const path = require("path");
3
-
4
- const app = express();
5
- const buildPath = path.join(__dirname, "build");
6
- const indexPath = path.join(buildPath, "index.html");
7
-
8
- app.use(express.static(buildPath));
9
-
10
- // Route handler for all requests
11
- app.get("*", (req, res) => {
12
- res.sendFile(indexPath);
13
- });
14
-
15
- // Start the server
16
- const port = process.env.PORT || 3000;
17
- app.listen(port, () => {
18
- console.log(`App is running on port ${port}`);
19
- });