Skip to content

Commit

Permalink
Dummy commit
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallku committed May 17, 2024
1 parent fc035f7 commit 9288157
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/visual-regression/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const path = require("path");

const app = express();
const port = 8083;

const server = http.createServer(app);
const filePath = path.resolve("..", "docs", "storybook-static");

app.use(express.static(filePath));
Expand All @@ -13,8 +13,6 @@ app.use("*", (_, res) => {
res.sendFile(path.join(filePath, "index.html"));
});

const server = http.createServer(app);

server.listen(port, () => {
console.log(`Server is running on http://localhost:${port}`);
});

0 comments on commit 9288157

Please sign in to comment.