Fix ports

This commit is contained in:
Sidharth Vinod 2022-09-14 14:33:38 +05:30
parent b4af820ed1
commit 811f838a2d
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
1 changed files with 6 additions and 1 deletions

View File

@ -67,5 +67,10 @@ const generateHandler = (server) => {
app.use(express.static('cypress/platform'));
app.all('/mermaid.js', generateHandler(iifeServer));
app.all('/mermaid.esm.mjs', generateHandler(esmServer));
app.listen(3000);
app.all('/e2e.js', generateHandler(iifeServer));
app.all('/bundle-test.js', generateHandler(iifeServer));
app.listen(9000, () => {
console.log(`Listening on http://localhost:9000`);
});
})();